still more brides of Dracula
Another tweak to PR #1240. Vampires start out vampshifted to bat/fog/wolf form. Marking them as 'waiting' forces them back to vampire form. Testing that revealed one of the brides as a vampire lord rather than a vampire lady. That could probably be construed as being politically correct but doesn't match the source material. The reversion from vampshifted to vampire entailed a 10% chance of toggling gender, comparable to hero self-polymorph. Don't do that for vampires. From the player's perspective they change randomly but from their own perspective, the change is controlled.
This commit is contained in:
@@ -5027,8 +5027,11 @@ mgender_from_permonst(
|
||||
} else if (is_female(mdat)) {
|
||||
mtmp->female = TRUE;
|
||||
} else if (!is_neuter(mdat)) {
|
||||
/* usually leave as-is; same chance to change as polymorphing hero */
|
||||
if (!rn2(10))
|
||||
/* usually leave as-is; same chance to change as polymorphing hero;
|
||||
vampires use controlled shapechange (from their perspective, even
|
||||
if it is random from the player's perspective) and don't undergo
|
||||
gender change */
|
||||
if (!rn2(10) && !(is_vampire(mdat) || is_vampshifter(mtmp)))
|
||||
mtmp->female = !mtmp->female;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user