|
Você não é registrado, por favor registre-se para ter acesso ao conteúdo completo. Caso seja registrado, efetue login. Esqueceu sua senha? Clique aqui Recomendamos o uso do Mozilla Firefox para uma melhor visualização. |
|
| Início | Postados Hoje | Marcar Fóruns Como Lidos | Álbums | Banidos | SE Team | Medalhas |
|
|||||||
| Registrar | Loteria VIP | Staff SE | Regras do fórum | Comunidade | Arcade | Postados Hoje | Pesquisar | Experience |
|
|
|
||||||||||||||||||||||||
|
|
|
|
Ferramentas do Tópico | Modos de Exibição |
|
|
#1 |
|
Membro - Veterano
![]() Registrado em: Dec 2009
Posts: 1,335
Agradeceu: 490
Agradecido 803 Vezes em 427 Posts
Nome Real: Roberto
|
Creditos : Guma Adaptacao de Codigos : Mazokista Código:
[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
Index: Trunk\L2JStep_CORE\config\Custom\L2JMods.properties
===================================================================
--- Trunk\L2JStep_CORE\config\Custom\L2JMods.properties
+++ Trunk\L2JStep_CORE\config\Custom\L2JMods.properties
@@ -93,4 +93,8 @@
+#-----------------------------------------------
+# Clan Leader Color Title Name #
+#-----------------------------------------------
+# Clan Name Color Enabled?
+ClanLeaderNameColorEnabled = False
+ClanLeaderColor = 00BFFF
+ClanLeaderColorAtClanLevel = 5
+# Clan Title Color Enabled?
+ClanLeaderTitleColorEnabled = False
+ClanLeaderTitle = 00BFFF
+ClanLeaderTitleAtClanLevel = 5
Index: Trunk\L2JStep_CORE\java\com\l2jstep\config.java
===================================================================
--- Trunk\L2JStep_CORE\java\com\l2jstep\config.java
+++ Trunk\L2JStep_CORE\java\com\l2jstep\config.java
@@ -561,4 +561,6 @@
+ public static boolean CLAN_LEADER_COLOR_ENABLED;
+ public static int CLAN_LEADER_COLOR;
+ public static int CLAN_LEADER_COLOR_CLAN_LEVEL;
+ public static boolean CLAN_LEADER_TITLE_ENABLED;
+ public static int CLAN_LEADER_TITLE;
+ public static int CLAN_LEADER_TITLE_CLAN_LEVEL;
@@ -561,4 +561,6 @@
+ CLAN_LEADER_COLOR_ENABLED = Boolean.parseBoolean(L2JModsSettings.getProperty("ClanLeaderNameColorEnabled", "False"));
+ CLAN_LEADER_COLOR = Integer.decode("0x" + L2JModsSettings.getProperty("ClanLeaderColor", "00BFFF"));
+ CLAN_LEADER_COLOR_CLAN_LEVEL = Integer.parseInt(L2JModsSettings.getProperty("ClanLeaderColorAtClanLevel", "1"));
+ CLAN_LEADER_TITLE_ENABLED = Boolean.parseBoolean(L2JModsSettings.getProperty("ClanLeaderTitleColorEnabled", "False"));
+ CLAN_LEADER_TITLE = Integer.decode("0x" + L2JModsSettings.getProperty("ClanLeaderTitle", "00BFFF"));
+ CLAN_LEADER_TITLE_CLAN_LEVEL = Integer.parseInt(L2JModsSettings.getProperty("ClanLeaderTitleAtClanLevel", "1"));
Index: Trunk\L2JStep_CORE\java\com\l2jstep\gameserver\clientpackets\EnterWorld.java
===================================================================
--- Trunk\L2JStep_CORE\java\com\l2jstep\gameserver\clientpackets\EnterWorld.java
+++ Trunk\L2JStep_CORE\java\com\l2jstep\gameserver\clientpackets\EnterWorld.java
@@ -213,5 +213,13 @@
+ // Apply color settings to clan leader when entering
+ if (activeChar.getClan() != null && activeChar.isClanLeader() && Config.CLAN_LEADER_COLOR_ENABLED && activeChar.getClan().getLevel() >= Config.CLAN_LEADER_COLOR_CLAN_LEVEL)
+ {
+ activeChar.getAppearance().setNameColor(Config.CLAN_LEADER_COLOR);
+ }
+
+ if (activeChar.getClan() != null && activeChar.isClanLeader() && Config.CLAN_LEADER_TITLE_ENABLED && activeChar.getClan().getLevel() >= Config.CLAN_LEADER_TITLE_CLAN_LEVEL)
+ {
+ activeChar.getAppearance().setTitleColor(Config.CLAN_LEADER_TITLE);
+ }
|
|
|
| Os Seguintes 2 Usuários disseram Obrigado(a) para Mazokista por gostarem deste post : |
dygow16 (23-08-2010),
RodolfoLopes (09-12-2010) |
| Links Patrocinados |