mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-12 22:45:31 -04:00
Added action add to Officer Inspiration, fixed a couple base skill mods, fixed officer buffs.
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
import sys
|
||||
|
||||
def add(core, actor, skillMod, value):
|
||||
core.skillModService.addSkillMod('display_only_dodge', base)
|
||||
core.skillModService.addSkillMod('display_only_parry', base / 2)
|
||||
core.skillModService.addSkillMod('display_only_evasion', base)
|
||||
def add((core, actor, skillMod, divisor):
|
||||
core.skillModService.addSkillMod('display_only_dodge', skillMod.getBase())
|
||||
core.skillModService.addSkillMod('display_only_parry', skillMod.getBase() / 2)
|
||||
core.skillModService.addSkillMod('display_only_evasion', skillMod.getBase())
|
||||
return
|
||||
|
||||
def deduct(core, actor, skillMod, value):
|
||||
core.skillModService.deductSkillMod('display_only_dodge', base)
|
||||
core.skillModService.deductSkillMod('display_only_parry', base / 2)
|
||||
core.skillModService.deductSkillMod('display_only_evasion', base)
|
||||
def deduct((core, actor, skillMod, divisor):
|
||||
core.skillModService.deductSkillMod('display_only_dodge', skillMod.getBase())
|
||||
core.skillModService.deductSkillMod('display_only_parry', skillMod.getBase() / 2)
|
||||
core.skillModService.deductSkillMod('display_only_evasion', skillMod.getBase())
|
||||
return
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import sys
|
||||
|
||||
def add(core, actor, skillMod, value):
|
||||
actor.setMaxHealth(actor.getMaxHealth() + base * 8)
|
||||
actor.setMaxAction(actor.getMaxAction() + base * 2)
|
||||
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() - base * 8)
|
||||
actor.setMaxAction(actor.getMaxAction() - base * 2)
|
||||
actor.setMaxHealth(actor.getMaxHealth() - skillMod.getBase() * 8)
|
||||
actor.setMaxAction(actor.getMaxAction() - skillMod.getBase() * 2)
|
||||
return
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import sys
|
||||
|
||||
def add(core, actor, skillMod, value):
|
||||
actor.setMaxHealth(actor.getMaxHealth() + base * 8)
|
||||
actor.setMaxAction(actor.getMaxAction() + base * 2)
|
||||
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() - base * 8)
|
||||
actor.setMaxAction(actor.getMaxAction() - base * 2)
|
||||
actor.setMaxHealth(actor.getMaxHealth() - skillMod.getBase() * 8)
|
||||
actor.setMaxAction(actor.getMaxAction() - skillMod.getBase() * 2)
|
||||
return
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import sys
|
||||
|
||||
def add(core, actor, skillMod, value):
|
||||
core.skillModService.addSkillMod(actor, 'display_only_critical', 100 * base)
|
||||
core.skillModService.addSkillMod(actor, 'display_only_critical', 100 * skillMod.getBase())
|
||||
return
|
||||
|
||||
def deduct(core, actor, skillMod, value):
|
||||
core.skillModService.deductSkillMod(actor, 'display_only_critical', 100 * base)
|
||||
core.skillModService.deductSkillMod(actor, 'display_only_critical', 100 * skillMod.getBase())
|
||||
return
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import sys
|
||||
|
||||
def add(core, actor, skillMod, divisor):
|
||||
actor.setAction(actor.getAction() + skillMod.getBase())
|
||||
return
|
||||
|
||||
def deduct(core, actor, skillMod, divisor):
|
||||
|
||||
Reference in New Issue
Block a user