Added action skill mod

This commit is contained in:
Seefo
2014-03-31 22:03:39 -04:00
parent 515cb92ce7
commit f93a7b68db
3 changed files with 18 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
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