Files
NGECore2/scripts/expertise/expertise_co_flashbang_2.py
T
Dan 2e795c0064 Added the missing expertise scripts
Created missing expertise scripts and filled them with data from the
game. Leaving Commando out for now as my version have a different
approach which I want to discuss with devs first.

Also added PyCharm project directory to the .gitignore file.
2013-09-08 21:30:39 +02:00

49 lines
828 B
Python

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_flashbang_2')
actor.addSkillMod('expertise_co_flash_bang', 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_flashbang_2')
actor.removeSkillMod('expertise_co_flash_bang', 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