mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-11 21:45:43 -04:00
Fixed innate armor commando
This commit is contained in:
@@ -3,45 +3,35 @@ import sys
|
||||
def addExpertisePoint(core, actor):
|
||||
|
||||
player = actor.getSlottedObject('ghost')
|
||||
|
||||
|
||||
if not player:
|
||||
return
|
||||
|
||||
|
||||
if not player.getProfession() == 'commando_1a':
|
||||
return
|
||||
|
||||
|
||||
actor.addSkill('expertise_co_powered_armor_1')
|
||||
|
||||
actor.addSkillMod('energy', 250)
|
||||
actor.addSkillMod('kinetic', 250)
|
||||
actor.addSkillMod('acid', 250)
|
||||
actor.addSkillMod('heat', 250)
|
||||
actor.addSkillMod('cold', 250)
|
||||
actor.addSkillMod('electricity', 250)
|
||||
|
||||
|
||||
actor.addSkillMod('expertise_innate_protection_all', 250)
|
||||
|
||||
addAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
|
||||
|
||||
def removeExpertisePoint(core, actor):
|
||||
|
||||
player = actor.getSlottedObject('ghost')
|
||||
|
||||
|
||||
if not player:
|
||||
return
|
||||
|
||||
|
||||
if not player.getProfession() == 'commando_1a':
|
||||
return
|
||||
|
||||
|
||||
actor.removeSkill('expertise_co_powered_armor_1')
|
||||
|
||||
actor.removeSkillMod('energy', 250)
|
||||
actor.removeSkillMod('kinetic', 250)
|
||||
actor.removeSkillMod('acid', 250)
|
||||
actor.removeSkillMod('heat', 250)
|
||||
actor.removeSkillMod('cold', 250)
|
||||
actor.removeSkillMod('electricity', 250)
|
||||
|
||||
|
||||
actor.removeSkillMod('expertise_innate_protection_all', 250)
|
||||
|
||||
removeAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
@@ -49,9 +39,10 @@ def removeExpertisePoint(core, actor):
|
||||
# this checks what abilities the player gets by level, need to also call this on level-up
|
||||
def addAbilities(core, actor, player):
|
||||
|
||||
return
|
||||
|
||||
def removeAbilities(core, actor, player):
|
||||
|
||||
return
|
||||
|
||||
|
||||
def removeAbilities(core, actor, player):
|
||||
|
||||
|
||||
return
|
||||
|
||||
@@ -3,45 +3,35 @@ import sys
|
||||
def addExpertisePoint(core, actor):
|
||||
|
||||
player = actor.getSlottedObject('ghost')
|
||||
|
||||
|
||||
if not player:
|
||||
return
|
||||
|
||||
|
||||
if not player.getProfession() == 'commando_1a':
|
||||
return
|
||||
|
||||
|
||||
actor.addSkill('expertise_co_powered_armor_2')
|
||||
|
||||
actor.addSkillMod('energy', 250)
|
||||
actor.addSkillMod('kinetic', 250)
|
||||
actor.addSkillMod('acid', 250)
|
||||
actor.addSkillMod('heat', 250)
|
||||
actor.addSkillMod('cold', 250)
|
||||
actor.addSkillMod('electricity', 250)
|
||||
|
||||
|
||||
actor.addSkillMod('expertise_innate_protection_all', 250)
|
||||
|
||||
addAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
|
||||
|
||||
def removeExpertisePoint(core, actor):
|
||||
|
||||
player = actor.getSlottedObject('ghost')
|
||||
|
||||
|
||||
if not player:
|
||||
return
|
||||
|
||||
|
||||
if not player.getProfession() == 'commando_1a':
|
||||
return
|
||||
|
||||
|
||||
actor.removeSkill('expertise_co_powered_armor_2')
|
||||
|
||||
actor.removeSkillMod('energy', 250)
|
||||
actor.removeSkillMod('kinetic', 250)
|
||||
actor.removeSkillMod('acid', 250)
|
||||
actor.removeSkillMod('heat', 250)
|
||||
actor.removeSkillMod('cold', 250)
|
||||
actor.removeSkillMod('electricity', 250)
|
||||
|
||||
|
||||
actor.removeSkillMod('expertise_innate_protection_all', 250)
|
||||
|
||||
removeAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
@@ -49,9 +39,10 @@ def removeExpertisePoint(core, actor):
|
||||
# this checks what abilities the player gets by level, need to also call this on level-up
|
||||
def addAbilities(core, actor, player):
|
||||
|
||||
return
|
||||
|
||||
def removeAbilities(core, actor, player):
|
||||
|
||||
return
|
||||
|
||||
|
||||
def removeAbilities(core, actor, player):
|
||||
|
||||
|
||||
return
|
||||
|
||||
@@ -3,45 +3,35 @@ import sys
|
||||
def addExpertisePoint(core, actor):
|
||||
|
||||
player = actor.getSlottedObject('ghost')
|
||||
|
||||
|
||||
if not player:
|
||||
return
|
||||
|
||||
|
||||
if not player.getProfession() == 'commando_1a':
|
||||
return
|
||||
|
||||
|
||||
actor.addSkill('expertise_co_powered_armor_3')
|
||||
|
||||
actor.addSkillMod('energy', 250)
|
||||
actor.addSkillMod('kinetic', 250)
|
||||
actor.addSkillMod('acid', 250)
|
||||
actor.addSkillMod('heat', 250)
|
||||
actor.addSkillMod('cold', 250)
|
||||
actor.addSkillMod('electricity', 250)
|
||||
|
||||
|
||||
actor.addSkillMod('expertise_innate_protection_all', 250)
|
||||
|
||||
addAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
|
||||
|
||||
def removeExpertisePoint(core, actor):
|
||||
|
||||
player = actor.getSlottedObject('ghost')
|
||||
|
||||
|
||||
if not player:
|
||||
return
|
||||
|
||||
|
||||
if not player.getProfession() == 'commando_1a':
|
||||
return
|
||||
|
||||
|
||||
actor.removeSkill('expertise_co_powered_armor_3')
|
||||
|
||||
actor.removeSkillMod('energy', 250)
|
||||
actor.removeSkillMod('kinetic', 250)
|
||||
actor.removeSkillMod('acid', 250)
|
||||
actor.removeSkillMod('heat', 250)
|
||||
actor.removeSkillMod('cold', 250)
|
||||
actor.removeSkillMod('electricity', 250)
|
||||
|
||||
|
||||
actor.removeSkillMod('expertise_innate_protection_all', 250)
|
||||
|
||||
removeAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
@@ -49,9 +39,10 @@ def removeExpertisePoint(core, actor):
|
||||
# this checks what abilities the player gets by level, need to also call this on level-up
|
||||
def addAbilities(core, actor, player):
|
||||
|
||||
return
|
||||
|
||||
def removeAbilities(core, actor, player):
|
||||
|
||||
return
|
||||
|
||||
|
||||
def removeAbilities(core, actor, player):
|
||||
|
||||
|
||||
return
|
||||
|
||||
@@ -3,45 +3,35 @@ import sys
|
||||
def addExpertisePoint(core, actor):
|
||||
|
||||
player = actor.getSlottedObject('ghost')
|
||||
|
||||
|
||||
if not player:
|
||||
return
|
||||
|
||||
|
||||
if not player.getProfession() == 'commando_1a':
|
||||
return
|
||||
|
||||
|
||||
actor.addSkill('expertise_co_powered_armor_4')
|
||||
|
||||
actor.addSkillMod('energy', 250)
|
||||
actor.addSkillMod('kinetic', 250)
|
||||
actor.addSkillMod('acid', 250)
|
||||
actor.addSkillMod('heat', 250)
|
||||
actor.addSkillMod('cold', 250)
|
||||
actor.addSkillMod('electricity', 250)
|
||||
|
||||
|
||||
actor.addSkillMod('expertise_innate_protection_all', 250)
|
||||
|
||||
addAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
|
||||
|
||||
def removeExpertisePoint(core, actor):
|
||||
|
||||
player = actor.getSlottedObject('ghost')
|
||||
|
||||
|
||||
if not player:
|
||||
return
|
||||
|
||||
|
||||
if not player.getProfession() == 'commando_1a':
|
||||
return
|
||||
|
||||
|
||||
actor.removeSkill('expertise_co_powered_armor_4')
|
||||
|
||||
actor.removeSkillMod('energy', 250)
|
||||
actor.removeSkillMod('kinetic', 250)
|
||||
actor.removeSkillMod('acid', 250)
|
||||
actor.removeSkillMod('heat', 250)
|
||||
actor.removeSkillMod('cold', 250)
|
||||
actor.removeSkillMod('electricity', 250)
|
||||
|
||||
|
||||
actor.removeSkillMod('expertise_innate_protection_all', 250)
|
||||
|
||||
removeAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
@@ -49,9 +39,10 @@ def removeExpertisePoint(core, actor):
|
||||
# this checks what abilities the player gets by level, need to also call this on level-up
|
||||
def addAbilities(core, actor, player):
|
||||
|
||||
return
|
||||
|
||||
def removeAbilities(core, actor, player):
|
||||
|
||||
return
|
||||
|
||||
|
||||
def removeAbilities(core, actor, player):
|
||||
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user