Files
NGECore2/scripts/skillMods/stamina_modified.py
T
2013-09-01 15:20:37 +02:00

15 lines
380 B
Python

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