Module:Monsters: Difference between revisions

Added an additional check to the activeBuffs check to fix an issue with specifically Aeris's Cyclone attack.
(Tweaked getMonsterMaxHit to allow for the option of ignoring stuns (will be used when making the DungeonDRTable, but by defualt behavior should be unchanged))
(Added an additional check to the activeBuffs check to fix an issue with specifically Aeris's Cyclone attack.)
Line 330: Line 330:


       if thisMax > specialMaxHit then specialMaxHit = thisMax end
       if thisMax > specialMaxHit then specialMaxHit = thisMax end
       if specAttack.activeBuffs then hasActiveBuffSpec = true end
       if specAttack.activeBuffs and specAttack.activeBuffTurns ~= nil and specAttack.activeBuffTurns > 0 then  
        hasActiveBuffSpec = true  
      end
     end
     end