mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
12 lines
265 B
Python
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
|
|
|