mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-12 22:45:31 -04:00
Fixed a few exploits. See extended.
Skills obtained through the expertise system are now validated to make sure they are legitimate expertise skills. Player expertise points are also now factored in instead of letting the client do all the calculations. Command "setcurrentskilltitle" now checks if the player has obtained the skill title to prevent abuse of the command.
This commit is contained in:
@@ -11,5 +11,6 @@ def run(core, actor, target, commandString):
|
||||
if playerObject is None:
|
||||
return
|
||||
|
||||
playerObject.setTitle(str(commandString))
|
||||
if str(commandString) in playerObject.getTitleList() or str(commandString) == "citizenship" or str(commandString) == "": playerObject.setTitle(str(commandString))
|
||||
|
||||
return
|
||||
Reference in New Issue
Block a user