mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-04 19:12:50 -04:00
Merge pull request #29 from xbang21/master
Added Commando Expertise Basic Attributes
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
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_enhanced_constitution_1')
|
||||
|
||||
actor.addSkillMod('constitution_modified', 50)
|
||||
|
||||
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_enhanced_constitution_1')
|
||||
|
||||
actor.removeSkillMod('constitution_modified', 50)
|
||||
|
||||
removeAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
|
||||
# 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
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
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_enhanced_constitution_2')
|
||||
|
||||
actor.addSkillMod('constitution_modified', 50)
|
||||
|
||||
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_enhanced_constitution_2')
|
||||
|
||||
actor.removeSkillMod('constitution_modified', 50)
|
||||
|
||||
removeAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
|
||||
# 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
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
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_enhanced_precision_1')
|
||||
|
||||
actor.addSkillMod('precision_modified', 25)
|
||||
|
||||
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_enhanced_precision_1')
|
||||
|
||||
actor.removeSkillMod('precision_modified', 25)
|
||||
|
||||
removeAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
|
||||
# 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
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
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_enhanced_precision_2')
|
||||
|
||||
actor.addSkillMod('precision_modified', 25)
|
||||
|
||||
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_enhanced_precision_2')
|
||||
|
||||
actor.removeSkillMod('precision_modified', 25)
|
||||
|
||||
removeAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
|
||||
# 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
|
||||
@@ -0,0 +1,47 @@
|
||||
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_enhanced_stamina_1')
|
||||
|
||||
actor.addSkillMod('stamina_modified', 25)
|
||||
|
||||
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_enhanced_stamina_1')
|
||||
|
||||
actor.removeSkillMod('stamina_modified', 25)
|
||||
|
||||
removeAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
|
||||
# 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
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
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_enhanced_stamina_2')
|
||||
|
||||
actor.addSkillMod('stamina_modified', 25)
|
||||
|
||||
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_enhanced_stamina_2')
|
||||
|
||||
actor.removeSkillMod('stamina_modified', 25)
|
||||
|
||||
removeAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
|
||||
# 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
|
||||
@@ -0,0 +1,47 @@
|
||||
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_general_enhanced_luck_1')
|
||||
|
||||
actor.addSkillMod('luck_modified', 25)
|
||||
|
||||
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_general_enhanced_luck_1')
|
||||
|
||||
actor.removeSkillMod('luck_modified', 25)
|
||||
|
||||
removeAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
|
||||
# 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
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
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_general_enhanced_luck_2')
|
||||
|
||||
actor.addSkillMod('luck_modified', 25)
|
||||
|
||||
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_general_enhanced_luck_2')
|
||||
|
||||
actor.removeSkillMod('luck_modified', 25)
|
||||
|
||||
removeAbilities(core, actor, player)
|
||||
|
||||
return
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user