Created
October 27, 2014 21:18
-
-
Save LucusAngel/9b5ba7df8101a65bf812 to your computer and use it in GitHub Desktop.
Custom title for new characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Eclipse Workspace Patch 1.0 | |
#P L2J_Server_BETA | |
Index: java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java | |
=================================================================== | |
--- java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (revision 6665) | |
+++ java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (working copy) | |
@@ -935,6 +935,8 @@ | |
player.setNewbie(1); | |
// Give 20 recommendations | |
player.setRecomLeft(20); | |
+ // Set custom title | |
+ player.setTitle("Uber custom title!"); | |
// Add the player in the characters table of the database | |
return player.createDb() ? player : null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment