Files
NGECore2/scripts/skillMods/healthPercent.py
T

14 lines
457 B
Python

import sys
# Temporarily disabled until the skillmod calculation system is refactored
def add(core, actor, name, base):
#actor.addSkillMod(name, base)
#actor.setMaxHealth(actor.getMaxHealth() + int((float(actor.getMaxHealth()) * (float(base) / float(100)))))
return
def deduct(core, actor, name, base):
#actor.deductSkillMod(name, base)
#actor.setMaxHealth(actor.getMaxHealth() - int((actor.getMaxHealth() * (float(base) / float(100)))))
return