Files
NGECore2/scripts/skillMods/action.py
T
2014-03-31 22:03:39 -04:00

12 lines
265 B
Python

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