mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-03 04:16:19 -04:00
Changed Ambush for BH to use a specialLine script
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, target, command):
|
||||
if actor.getSkillMod('expertise_cooldown_line_dm_crit'):
|
||||
command.setCooldown(command.getCooldown() - (actor.getSkillModBase('expertise_cooldown_line_dm_crit')/10))
|
||||
|
||||
if actor.getSkillMod('expertise_damage_line_dm_crit'):
|
||||
command.setAddedDamage(command.getAddedDamage() + ((command.getAddedDamage()*actor.getSkillModBase('expertise_damage_line_dm_crit'))/100))
|
||||
|
||||
if actor.getSkillMod('expertise_action_line_dm_crit'):
|
||||
command.setActionCost(command.getActionCost() - ((command.getActionCost()*actor.getSkillModBase('expertise_action_line_dm_crit'))/100))
|
||||
|
||||
if actor.getSkillMod('expertise_critical_line_dm_crit'):
|
||||
command.setCriticalChance(command.getCriticalChance + actor.getSkillModBase('expertise_critical_line_dm_crit'))
|
||||
|
||||
return
|
||||
|
||||
def run(core, actor, target, commandString):
|
||||
return
|
||||
@@ -1,19 +0,0 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, target, command):
|
||||
if actor.getSkillMod('expertise_cooldown_line_dm_crit'):
|
||||
command.setCooldown(command.getCooldown() - (actor.getSkillModBase('expertise_cooldown_line_dm_crit')/10))
|
||||
|
||||
if actor.getSkillMod('expertise_damage_line_dm_crit'):
|
||||
command.setAddedDamage(command.getAddedDamage() + ((command.getAddedDamage()*actor.getSkillModBase('expertise_damage_line_dm_crit'))/100))
|
||||
|
||||
if actor.getSkillMod('expertise_action_line_dm_crit'):
|
||||
command.setActionCost(command.getActionCost() - ((command.getActionCost()*actor.getSkillModBase('expertise_action_line_dm_crit'))/100))
|
||||
|
||||
if actor.getSkillMod('expertise_critical_line_dm_crit'):
|
||||
command.setCriticalChance(command.getCriticalChance() + actor.getSkillModBase('expertise_critical_line_dm_crit'))
|
||||
|
||||
return
|
||||
|
||||
def run(core, actor, target, commandString):
|
||||
return
|
||||
@@ -1,19 +0,0 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, target, command):
|
||||
if actor.getSkillMod('expertise_cooldown_line_dm_crit'):
|
||||
command.setCooldown(command.getCooldown() - (actor.getSkillModBase('expertise_cooldown_line_dm_crit')/10))
|
||||
|
||||
if actor.getSkillMod('expertise_damage_line_dm_crit'):
|
||||
command.setAddedDamage(command.getAddedDamage() + ((command.getAddedDamage()*actor.getSkillModBase('expertise_damage_line_dm_crit'))/100))
|
||||
|
||||
if actor.getSkillMod('expertise_action_line_dm_crit'):
|
||||
command.setActionCost(command.getActionCost() - ((command.getActionCost()*actor.getSkillModBase('expertise_action_line_dm_crit'))/100))
|
||||
|
||||
if actor.getSkillMod('expertise_critical_line_dm_crit'):
|
||||
command.setCriticalChance(command.getCriticalChance + actor.getSkillModBase('expertise_critical_line_dm_crit'))
|
||||
|
||||
return
|
||||
|
||||
def run(core, actor, target, commandString):
|
||||
return
|
||||
@@ -1,19 +0,0 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, target, command):
|
||||
if actor.getSkillMod('expertise_cooldown_line_dm_crit'):
|
||||
command.setCooldown(command.getCooldown() - (actor.getSkillModBase('expertise_cooldown_line_dm_crit')/10))
|
||||
|
||||
if actor.getSkillMod('expertise_damage_line_dm_crit'):
|
||||
command.setAddedDamage(command.getAddedDamage() + ((command.getAddedDamage()*actor.getSkillModBase('expertise_damage_line_dm_crit'))/100))
|
||||
|
||||
if actor.getSkillMod('expertise_action_line_dm_crit'):
|
||||
command.setActionCost(command.getActionCost() - ((command.getActionCost()*actor.getSkillModBase('expertise_action_line_dm_crit'))/100))
|
||||
|
||||
if actor.getSkillMod('expertise_critical_line_dm_crit'):
|
||||
command.setCriticalChance(command.getCriticalChance + actor.getSkillModBase('expertise_critical_line_dm_crit'))
|
||||
|
||||
return
|
||||
|
||||
def run(core, actor, target, commandString):
|
||||
return
|
||||
@@ -1,19 +0,0 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, target, command):
|
||||
if actor.getSkillMod('expertise_cooldown_line_dm_crit'):
|
||||
command.setCooldown(command.getCooldown() - (actor.getSkillModBase('expertise_cooldown_line_dm_crit')/10))
|
||||
|
||||
if actor.getSkillMod('expertise_damage_line_dm_crit'):
|
||||
command.setAddedDamage(command.getAddedDamage() + ((command.getAddedDamage()*actor.getSkillModBase('expertise_damage_line_dm_crit'))/100))
|
||||
|
||||
if actor.getSkillMod('expertise_action_line_dm_crit'):
|
||||
command.setActionCost(command.getActionCost() - ((command.getActionCost()*actor.getSkillModBase('expertise_action_line_dm_crit'))/100))
|
||||
|
||||
if actor.getSkillMod('expertise_critical_line_dm_crit'):
|
||||
command.setCriticalChance(command.getCriticalChance + actor.getSkillModBase('expertise_critical_line_dm_crit'))
|
||||
|
||||
return
|
||||
|
||||
def run(core, actor, target, commandString):
|
||||
return
|
||||
@@ -1,19 +0,0 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, target, command):
|
||||
if actor.getSkillMod('expertise_cooldown_line_dm_crit'):
|
||||
command.setCooldown(command.getCooldown() - (actor.getSkillModBase('expertise_cooldown_line_dm_crit')/10))
|
||||
|
||||
if actor.getSkillMod('expertise_damage_line_dm_crit'):
|
||||
command.setAddedDamage(command.getAddedDamage() + ((command.getAddedDamage()*actor.getSkillModBase('expertise_damage_line_dm_crit'))/100))
|
||||
|
||||
if actor.getSkillMod('expertise_action_line_dm_crit'):
|
||||
command.setActionCost(command.getActionCost() - ((command.getActionCost()*actor.getSkillModBase('expertise_action_line_dm_crit'))/100))
|
||||
|
||||
if actor.getSkillMod('expertise_critical_line_dm_crit'):
|
||||
command.setCriticalChance(command.getCriticalChance + actor.getSkillModBase('expertise_critical_line_dm_crit'))
|
||||
|
||||
return
|
||||
|
||||
def run(core, actor, target, commandString):
|
||||
return
|
||||
@@ -1,19 +0,0 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, target, command):
|
||||
if actor.getSkillMod('expertise_cooldown_line_dm_crit'):
|
||||
command.setCooldown(command.getCooldown() - (actor.getSkillModBase('expertise_cooldown_line_dm_crit')/10))
|
||||
|
||||
if actor.getSkillMod('expertise_damage_line_dm_crit'):
|
||||
command.setAddedDamage(command.getAddedDamage() + ((command.getAddedDamage()*actor.getSkillModBase('expertise_damage_line_dm_crit'))/100))
|
||||
|
||||
if actor.getSkillMod('expertise_action_line_dm_crit'):
|
||||
command.setActionCost(command.getActionCost() - ((command.getActionCost()*actor.getSkillModBase('expertise_action_line_dm_crit'))/100))
|
||||
|
||||
if actor.getSkillMod('expertise_critical_line_dm_crit'):
|
||||
command.setCriticalChance(command.getCriticalChance + actor.getSkillModBase('expertise_critical_line_dm_crit'))
|
||||
|
||||
return
|
||||
|
||||
def run(core, actor, target, commandString):
|
||||
return
|
||||
+1
@@ -1,6 +1,7 @@
|
||||
import sys
|
||||
|
||||
def setup(core, actor, target, command):
|
||||
|
||||
if actor.getSkillMod('expertise_cooldown_line_dm_crit'):
|
||||
command.setCooldown(command.getCooldown() - (actor.getSkillModBase('expertise_cooldown_line_dm_crit')/10))
|
||||
|
||||
Reference in New Issue
Block a user