fix: Increased the tick rate of continuous spells (#849)

... and added some checks to make sure the spells don't deal too much with mods that interact with the hurt resistance timer.
This commit is contained in:
ipdnaeip
2023-09-09 12:08:38 -04:00
committed by GitHub
parent 85ca4fd100
commit 112a562b2d
7 changed files with 7 additions and 7 deletions
@@ -47,7 +47,7 @@ public class LifeDrain extends SpellRay {
if(EntityUtils.isLiving(target)){
if(ticksInUse % 12 == 0){
if(ticksInUse % 10 == 0){
float damage = getProperty(DAMAGE).floatValue() * modifiers.get(SpellModifiers.POTENCY);