mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-11 01:13:05 -04:00
17 lines
400 B
Python
17 lines
400 B
Python
import sys
|
|
|
|
def addAbilities(core, actor, player):
|
|
if actor.getLevel() >= 10:
|
|
actor.addAbility("en_thrill")
|
|
if actor.getLevel() >= 34:
|
|
actor.addAbility("en_thrill_1")
|
|
if actor.getLevel() >= 62:
|
|
actor.addAbility("en_thrill_2")
|
|
return
|
|
|
|
def removeAbilities(core, actor, player):
|
|
actor.removeAbility("en_thrill")
|
|
actor.removeAbility("en_thrill_1")
|
|
actor.removeAbility("en_thrill_2")
|
|
return
|