mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-23 08:13:32 -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
|
|
|