RoomCode

RoomCode

250 Downloads

Consider handling Splash damage

TheGrayAlien opened this issue ยท 0 comments

commented

This would fix certain abilities like Charge, Whirlwind, and Scroll of Lightning. Add a few lines of code to AbilityDamageOverridden after ability.abilityDamage.targetDamage, ability.abilityDamage.critDamage like so

  •             , ability.abilityDamage.splashDamage, ability.abilityDamage.critSplashDamage };
    
  •             ability.abilityDamage.targetDamage = replacement.Value[0];
    
  •             ability.abilityDamage.critDamage = replacement.Value[1];
    
  •             ability.abilityDamage.splashDamage = replacement.Value[2];
    
  •             ability.abilityDamage.critSplashDamage = replacement.Value[3];
    

Update docs to inform ruleset creators.