mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-12 02:13:48 -04:00
Merge pull request #912 from Mesagoppinmypants/patch-13
Entertainer Heal Command Is Now Granted Correctly
This commit is contained in:
@@ -1,9 +1,19 @@
|
||||
import sys
|
||||
|
||||
def addAbilities(core, actor, player):
|
||||
actor.addAbility("en_heal_1")
|
||||
if actor.getLevel() >= 10:
|
||||
actor.addAbility("en_heal_1")
|
||||
if actor.getLevel() >= 34:
|
||||
actor.addAbility("en_heal_2")
|
||||
if actor.getLevel() >= 58:
|
||||
actor.addAbility("en_heal_3")
|
||||
if actor.getLevel() >= 82:
|
||||
actor.addAbility("en_heal_4")
|
||||
return
|
||||
|
||||
def removeAbilities(core, actor, player):
|
||||
actor.removeAbility("en_heal_1")
|
||||
actor.removeAbility("en_heal_2")
|
||||
actor.removeAbility("en_heal_3")
|
||||
actor.removeAbility("en_heal_4")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user