diff --git a/scripts/expertise/expertise_co_enhanced_stamina_1 b/scripts/expertise/expertise_co_enhanced_stamina_1 new file mode 100644 index 00000000..df042580 --- /dev/null +++ b/scripts/expertise/expertise_co_enhanced_stamina_1 @@ -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_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