mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
12 lines
379 B
Python
12 lines
379 B
Python
import sys
|
|
|
|
def add(core, actor, skillMod, value):
|
|
actor.setMaxHealth(actor.getMaxHealth() + skillMod.getBase() * 8)
|
|
actor.setMaxAction(actor.getMaxAction() + skillMod.getBase() * 2)
|
|
return
|
|
|
|
def deduct(core, actor, skillMod, value):
|
|
actor.setMaxHealth(actor.getMaxHealth() - skillMod.getBase() * 8)
|
|
actor.setMaxAction(actor.getMaxAction() - skillMod.getBase() * 2)
|
|
return
|
|
|