mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
15 lines
380 B
Python
15 lines
380 B
Python
import sys
|
|
|
|
def add(core, actor, name, base):
|
|
actor.addSkillMod(name, base)
|
|
actor.setMaxHealth(actor.getMaxHealth() + base * 8)
|
|
actor.setMaxAction(actor.getMaxAction() + base * 2)
|
|
return
|
|
|
|
def deduct(core, actor, name, base):
|
|
actor.deductSkillMod(name, base)
|
|
actor.setMaxHealth(actor.getMaxHealth() - base * 8)
|
|
actor.setMaxAction(actor.getMaxAction() - base * 2)
|
|
return
|
|
|