Además de cambiar el color del nombre de los participantes de las olimpiadas, las habilidades de clan son eliminadas durante el evento.
config:
Index: net/sf/l2j/config/l2jmods.properties
# Specified reward item rnd qty
ChampionRewardItemQty = 1
+
+#---------------------------------------------------------------
+# Olympiad Custom Name Color
+#---------------------------------------------------------------
OlympiadColorSystem = false
OlympiadNameColor = FFF000
+
=====
Index: net/sf/l2j/config.java
public static int L2JMOD_CHAMPION_REWARD_ID;
public static int L2JMOD_CHAMPION_REWARD_QTY;
+ public static boolean OLYMPIAD_COLOR_SYSTEM;
+ public static int OLYMPIAD_NAME_COLOR;
L2JMOD_CHAMPION_REWARD_ID = Integer.parseInt(L2JModSettings.getProperty("ChampionRewardItemID", "6393"));
L2JMOD_CHAMPION_REWARD_QTY = Integer.parseInt(L2JModSettings.getProperty("ChampionRewardItemQty", "1"));
+ OLYMPIAD_COLOR_SYSTEM = Boolean.parseBoolean(L2JModSettings.getProperty("OlympiadColorSystem", "false"));
+ OLYMPIAD_NAME_COLOR = Integer.decode("0x" + L2JModSettings.getProperty("OlympiadNameColor", "FFF000"));
=====
Index: sf/l2j/gameserver/Olympiad.java
//Remove Clan Skills
if (player.getClan() != null)
{
for(L2Skill skill: player.getClan().getAllSkills())
player.removeSkill(skill,false);
}
+
+ //Olympiad Color Title
+ if (Config.OLYMPIAD_COLOR_SYSTEM)
+ {
+ if (player.isOlympiadStart())
+ player.getAppearance().setNameColor(Config.OLYMPIAD_NAME_COLOR);
+ broadcastUserInfo();
+ }
+
//Abort casting if player casting
if (player.isCastingNow())