Added First Aid Training (commando)

This commit is contained in:
Ziggeh
2013-12-08 12:16:26 +01:00
parent bba4153f47
commit 8b21e32f6a
4 changed files with 27 additions and 7 deletions
+10
View File
@@ -0,0 +1,10 @@
import sys
def setup(core, actor, buff):
core.skillModService.addSkillMod(actor, 'expertise_healing_all', 20)
return
def removeBuff(core, actor, buff):
core.skillModService.deductSkillMod(actor, 'expertise_healing_all', 20)
return
@@ -0,0 +1,9 @@
import sys
def setup():
return
def run(core, actor, target, commandString):
core.buffService.addBuffToCreature(actor, 'co_first_aid_training')
return
+5 -6
View File
@@ -1,11 +1,10 @@
import sys
import java.util.Random;
def setup(core, actor, target, command):
if R
else:
if actor.getSkillMod('expertise_cooldown_line_of_heal'):
command.setCooldown(command.getCooldown() - actor.getSkillMod('expertise_cooldown_line_of_heal').getBase())
return
if actor.getSkillMod('expertise_cooldown_line_of_heal'):
command.setCooldown(command.getCooldown() - actor.getSkillMod('expertise_cooldown_line_of_heal').getBase())
return
def run(core, actor, target, commandString):
return
+3 -1
View File
@@ -307,6 +307,7 @@ public class CombatCommands {
core.commandService.registerCommand("co_hw_dot");
core.commandService.registerCommand("co_ae_hw_dot");
core.commandService.registerCommand("co_position_secured");
core.commandService.registerCommand("co_first_aid_training");
// Entertainer
@@ -424,14 +425,15 @@ public class CombatCommands {
core.commandService.registerCombatCommand("me_traumatize_4");
core.commandService.registerCombatCommand("me_traumatize_5");
core.commandService.registerCombatCommand("me_stasis_1");
core.commandService.registerCommand("me_stasis_self_1");
core.commandService.registerCommand("me_drag_1");
core.commandService.registerCommand("me_enhance_action_1");
core.commandService.registerCommand("me_reckless_stimulation_1");
core.commandService.registerCommand("me_reckless_stimulation_2");
core.commandService.registerCommand("me_reckless_stimulation_3");
core.commandService.registerCommand("me_reckless_stimulation_4");
core.commandService.registerCommand("me_reckless_stimulation_5");
core.commandService.registerCommand("me_reckless_stimulation_6");
core.commandService.registerCommand("me_stasis_self_1");
// Officer