Home
last modified time | relevance | path

Searched refs:theMut (Results 1 – 1 of 1) sorted by relevance

/dports/games/brogue/BrogueCE-1.10.1/src/brogue/
H A DMonsters.c29 const mutation *theMut = &(mutationCatalog[mutationIndex]); in mutateMonster() local
30 monst->info.flags |= theMut->monsterFlags; in mutateMonster()
31 monst->info.abilityFlags |= theMut->monsterAbilityFlags; in mutateMonster()
32 monst->info.maxHP = monst->info.maxHP * theMut->healthFactor / 100; in mutateMonster()
33 monst->info.movementSpeed = monst->info.movementSpeed * theMut->moveSpeedFactor / 100; in mutateMonster()
34 monst->info.attackSpeed = monst->info.attackSpeed * theMut->attackSpeedFactor / 100; in mutateMonster()
35 monst->info.defense = monst->info.defense * theMut->defenseFactor / 100; in mutateMonster()
44 if (theMut->DFChance >= 0) { in mutateMonster()
45 monst->info.DFChance = theMut->DFChance; in mutateMonster()
47 if (theMut->DFType > 0) { in mutateMonster()
[all …]