Files
NGECore2/scripts/skillMods/stamina_modified.py
T
2013-08-25 21:35:30 +02:00

14 lines
367 B
Python

import sys
def add(core, actor, name, base):
actor.addSkillMod(name, base)
actor.setMaxHealth(actor.getHealth() + base * 2)
actor.setMaxAction(actor.getAction() + base * 8)
return
def deduct(core, actor, name, base):
actor.deductSkillMod(name, base)
actor.setMaxHealth(actor.getHealth() - base * 2)
actor.setMaxAction(actor.getAction() - base * 8)
return