Merge pull request #29 from xbang21/master

Added Commando Expertise Basic Attributes
This commit is contained in:
Light2
2013-08-31 07:14:59 -07:00
8 changed files with 374 additions and 0 deletions
@@ -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