mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-17 07:02:53 -04:00
Cloaked Attacks Now Grants Correct Abilities
This commit is contained in:
committed by
CharonInferar
parent
35383e0cf5
commit
942e8c6b0d
@@ -1,51 +1,52 @@
|
||||
import sys
|
||||
|
||||
def addAbilities(core, actor, player):
|
||||
if actor.getLevel() >= 4:
|
||||
actor.addAbility("sp_hd_melee_0")
|
||||
if actor.getLevel() >= 12:
|
||||
actor.addAbility("sp_hd_melee_1")
|
||||
if actor.getLevel() >= 10:
|
||||
actor.addAbility("sp_stealth_melee_0")
|
||||
if actor.getLevel() >= 20:
|
||||
actor.addAbility("sp_hd_melee_2")
|
||||
if actor.getLevel() >= 30:
|
||||
actor.addAbility("sp_hd_melee_3")
|
||||
if actor.getLevel() >= 38:
|
||||
actor.addAbility("sp_hd_melee_4")
|
||||
if actor.getLevel() >= 52:
|
||||
actor.addAbility("sp_hd_melee_5")
|
||||
if actor.getLevel() >= 62:
|
||||
actor.addAbility("sp_hd_melee_6")
|
||||
actor.addAbility("sp_stealth_melee_1")
|
||||
if actor.getLevel() >= 32:
|
||||
actor.addAbility("sp_stealth_melee_2")
|
||||
if actor.getLevel() >= 46:
|
||||
actor.addAbility("sp_stealth_melee_3")
|
||||
if actor.getLevel() >= 60:
|
||||
actor.addAbility("sp_stealth_melee_4")
|
||||
if actor.getLevel() >= 70:
|
||||
actor.addAbility("sp_stealth_melee_5")
|
||||
if actor.getLevel() >= 86:
|
||||
actor.addAbility("sp_stealth_melee_6")
|
||||
|
||||
if actor.getLevel() >= 4:
|
||||
actor.addAbility("sp_hd_range_0")
|
||||
if actor.getLevel() >= 12:
|
||||
actor.addAbility("sp_hd_range_1")
|
||||
if actor.getLevel() >= 10:
|
||||
actor.addAbility("sp_stealth_ranged_0")
|
||||
if actor.getLevel() >= 20:
|
||||
actor.addAbility("sp_hd_range_2")
|
||||
if actor.getLevel() >= 30:
|
||||
actor.addAbility("sp_hd_range_3")
|
||||
if actor.getLevel() >= 38:
|
||||
actor.addAbility("sp_hd_range_4")
|
||||
if actor.getLevel() >= 52:
|
||||
actor.addAbility("sp_hd_range_5")
|
||||
if actor.getLevel() >= 62:
|
||||
actor.addAbility("sp_hd_range_6")
|
||||
actor.addAbility("sp_stealth_ranged_1")
|
||||
if actor.getLevel() >= 32:
|
||||
actor.addAbility("sp_stealth_ranged_2")
|
||||
if actor.getLevel() >= 46:
|
||||
actor.addAbility("sp_stealth_ranged_3")
|
||||
if actor.getLevel() >= 60:
|
||||
actor.addAbility("sp_stealth_ranged_4")
|
||||
if actor.getLevel() >= 70:
|
||||
actor.addAbility("sp_stealth_ranged_5")
|
||||
if actor.getLevel() >= 86:
|
||||
actor.addAbility("sp_stealth_ranged_6")
|
||||
return
|
||||
|
||||
def removeAbilities(core, actor, player):
|
||||
actor.removeAbility("sp_hd_melee_0")
|
||||
actor.removeAbility("sp_hd_melee_1")
|
||||
actor.removeAbility("sp_hd_melee_2")
|
||||
actor.removeAbility("sp_hd_melee_3")
|
||||
actor.removeAbility("sp_hd_melee_4")
|
||||
actor.removeAbility("sp_hd_melee_5")
|
||||
actor.removeAbility("sp_hd_melee_6")
|
||||
actor.removeAbility("sp_stealth_melee_0")
|
||||
actor.removeAbility("sp_stealth_melee_1")
|
||||
actor.removeAbility("sp_stealth_melee_2")
|
||||
actor.removeAbility("sp_stealth_melee_3")
|
||||
actor.removeAbility("sp_stealth_melee_4")
|
||||
actor.removeAbility("sp_stealth_melee_5")
|
||||
actor.removeAbility("sp_stealth_melee_6")
|
||||
|
||||
actor.removeAbility("sp_hd_range_0")
|
||||
actor.removeAbility("sp_hd_range_1")
|
||||
actor.removeAbility("sp_hd_range_2")
|
||||
actor.removeAbility("sp_hd_range_3")
|
||||
actor.removeAbility("sp_hd_range_4")
|
||||
actor.removeAbility("sp_hd_range_5")
|
||||
actor.removeAbility("sp_hd_range_6")
|
||||
actor.removeAbility("sp_stealth_ranged_0")
|
||||
actor.removeAbility("sp_stealth_ranged_1")
|
||||
actor.removeAbility("sp_stealth_ranged_2")
|
||||
actor.removeAbility("sp_stealth_ranged_3")
|
||||
actor.removeAbility("sp_stealth_ranged_4")
|
||||
actor.removeAbility("sp_stealth_ranged_5")
|
||||
actor.removeAbility("sp_stealth_ranged_6")
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user