|
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 | Membros | Arcade | Pesquisar | Postados Hoje | Marcar Fóruns Como Lidos | Experience |
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
![]() |
|
|
Ferramentas do Tópico | Modos de Exibição |
|
|
|
|
#1 |
|
Membro - Tenente
![]() Registrado em: Mar 2009
Localização: Pato Bragado PR
Posts: 86
Agradeceu: 54
Agradecido 26 Vezes em 9 Posts
Nome Real: Dionathan Douglas Balz
|
pessoal, boa noite,
estou aqui mais uma vez para tirar uma duvida gente eu preciso para meu servidor que os player possam enchantar os itens hero, com o enchant S normal blesed e tudo mais, alguem pode me dizer como eu faço para os player poderem enchantar os heros porfavor me digam, e também para eles poderem usalas players sem hero please presiso de ajuda. agradeço des de já |
|
|
|
| Links Patrocinados |
|
|
#2 |
|
Membro - Tenente
![]() Registrado em: Dec 2010
Posts: 82
Agradeceu: 103
Agradecido 16 Vezes em 8 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Estado:
![]()
|
qual e sua rev?
dependendo da rev que vc esta usando vc pode mudar na seguinte config: gameserver/config/enchant # Enchant hero weapons (default: False) EnchantHeroWeapons = False << mude pra True se ajudei nao se esqueça de agradecer clicando no [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
|
|
|
|
|
|
#3 |
|
Membro - Tenente
![]() Registrado em: Mar 2009
Localização: Pato Bragado PR
Posts: 86
Agradeceu: 54
Agradecido 26 Vezes em 9 Posts
Nome Real: Dionathan Douglas Balz
|
eu uso a rev l2jblack 219 se nao me ingano e eu presiso também dos player normal sem hero poderem usar as armas hero (:
|
|
|
|
|
|
#4 |
|
Membro - Veterano
![]() Registrado em: Dec 2009
Posts: 1,335
Agradeceu: 490
Agradecido 803 Vezes em 427 Posts
Nome Real: Roberto
|
Aqui esta hm MOD para isso basta ADD
Código:
[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
Index: /HighRate/L2_GameServer/java/config/intrepid.properties
===================================================================
--- /HighRate/L2_GameServer/java/config/intrepid.properties (revision 132)
+++ /HighRate/L2_GameServer/java/config/intrepid.properties (revision 146)
@@ -92,2 +92,8 @@
# Max Chat lenght(default 100)
MaxChatLenght = 100
+
+# Special Enchant Hero
+# If set to true and your weapon enchant = EnchantLvl
+# You are awarded with with hero status BUT only when the weapon equipped!
+EnchantHero = False
+EnchantLvl = 0
Index: /HighRate/L2_GameServer/java/net/sf/l2j/Config.java
===================================================================
--- /HighRate/L2_GameServer/java/net/sf/l2j/Config.java (revision 136)
+++ /HighRate/L2_GameServer/java/net/sf/l2j/Config.java (revision 146)
@@ -680,4 +680,6 @@
public static long L2JMOD_PK_PUNISHMENT_PERIOD;
public static int MAX_CHAT_LENGTH;
+ public static int SPECIAL_ENCHANT_HERO;
+ public static boolean ALLOW_SPECIAL_ENCHANT_HERO;
/** ************************************************** **/
@@ -1624,4 +1626,6 @@
L2JMOD_PK_PUNISHMENT_PERIOD = Long.parseLong(intrepidSettings.getProperty("PKPunishmentPeriod", "3600"));
MAX_CHAT_LENGTH = Integer.parseInt(intrepidSettings.getProperty("MaxChatLenght", "100"));
+ SPECIAL_ENCHANT_HERO = Integer.parseInt(intrepidSettings.getProperty("EnchantLvl", "0"));
+ ALLOW_SPECIAL_ENCHANT_HERO = Boolean.valueOf(intrepidSettings.getProperty("EnchantHero", "False"));
}
catch (Exception e)
Index: HighRateCore/java/net/sf/l2j/gameserver/network/clientpackets/UseItem.java
===================================================================
--- HighRateCore/java/net/sf/l2j/gameserver/network/clientpackets/UseItem.java (revision 148)
+++HighRateCore/java/net/sf/l2j/gameserver/network/clientpackets/UseItem.java (working copy)
@@ -215,6 +215,12 @@
if (item.isEquipable())
{
+ if (item.getItem().getItemGrade() == L2Item.CRYSTAL_S80 && item.getItem().getType2() == L2Item.TYPE2_WEAPON && Config.ALLOW_SPECIAL_ENCHANT_HERO && item.getEnchantLevel() == Config.SPECIAL_ENCHANT_HERO)
+ {
+ activeChar.setHero(true);
+ activeChar.sendMessage("Congratulations"+ activeChar.getName() +"you are special enchant hero now!");
+ activeChar.broadcastUserInfo();
+ }
// No unequipping/equipping while the player is in special conditions
if (activeChar.isStunned() || activeChar.isSleeping() || activeChar.isParalyzed()
|| activeChar.isAlikeDead())
|
|
|
|
|
|
#5 |
|
Membro - Tenente
![]() Registrado em: Mar 2009
Localização: Pato Bragado PR
Posts: 86
Agradeceu: 54
Agradecido 26 Vezes em 9 Posts
Nome Real: Dionathan Douglas Balz
|
como mazokista nao intendi parceiro como eu vou add isso e onde ;/ me ajuda ;/
|
|
|
|
|
|
#6 |
|
Membro - Tenente
![]() Registrado em: Mar 2009
Localização: Pato Bragado PR
Posts: 86
Agradeceu: 54
Agradecido 26 Vezes em 9 Posts
Nome Real: Dionathan Douglas Balz
|
como eu adiciono isso no meu server gente, porfavor me ajudem ;/
|
|
|
|