mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
Create expertise_co_enhanced_stamina_1
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user