Files
NGECore2/scripts/skillMods/healthPercent.py
2014-04-25 23:25:01 +01:00

12 lines
430 B
Python

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