You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for the Penance Mark minion to be treated as an enemy (#9302)
The Penance Mark minion is classified as an ally of the enemy that you curse
It uses monster life scaling and also benefits from monster map life mods
It doesn't use any minion scaling mods then and should only be affected by modifiers to enemies
Co-authored-by: LocalIdentity <[email protected]>
activeSkill.skillData.minionLevelIsPlayerLeveland (m_min(env.buildandenv.build.characterLeveloractiveSkill.skillData.minionLeveloractiveEffect.grantedEffectLevel.levelRequirement, activeSkill.skillData.minionLevelIsPlayerLevel)) or
minion.lifeTable= (minion.minionData.lifeScaling=="AltLife1" andenv.data.monsterLifeTable2) or (minion.minionData.lifeScaling=="AltLife2" andenv.data.monsterLifeTable3) or (isSpectreandenv.data.monsterLifeTable) orenv.data.monsterAllyLifeTable
682
+
ifminion.minionData.hostilethen
683
+
minion.lifeTable=env.data.monsterLifeTable
684
+
else
685
+
minion.lifeTable= (minion.minionData.lifeScaling=="AltLife1" andenv.data.monsterLifeTable2) or (minion.minionData.lifeScaling=="AltLife2" andenv.data.monsterLifeTable3) or (isSpectreandenv.data.monsterLifeTable) orenv.data.monsterAllyLifeTable
0 commit comments