|
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 |
|
|
|
||||||||||||||||||||||||||||||||||||
|
|
![]() |
|
|
LinkBack | Ferramentas do Tópico | Modos de Exibição |
|
|
#1 (permalink) |
|
Banido
![]() Registrado em: Feb 2010
Posts: 10
Agradeceu: 15
Agradecido 10 Vezes em 2 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Estado:
![]()
|
Galera gostaria de um Mod que contem no Pack da L2JFrozen, que se chama RB Heal Config
Função dele = Não deixar que o Player dê Heal nos BOSS. Gostaria deste mesmo MOD mais para L2J2010 obrigado. |
|
|
|
| Links Patrocinados |
|
|
#4 (permalink) |
|
Membro - Veterano
![]() Registrado em: Dec 2009
Posts: 1,335
Agradeceu: 490
Agradecido 803 Vezes em 427 Posts
Nome Real: Roberto
|
Código:
[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
Index: config/frozen/frozen.properties
===================================================================
--- config/frozen/frozen.properties (revision 594)
+++ config/frozen/frozen.properties (working copy)
@@ -19,11 +19,6 @@
# Show Server Time to player on start
ShowServerTimeOnStart = true
+# If True: Player can heal RB
+# If False: Player can't heal RB
+# Default: True
+PlayersCanHealRb = True
+
# Return RB to spawnpoint
# Default: 5000
RBlockRage = 5000
Index: head-src/com/l2jfrozen/Config.java
===================================================================
--- head-src/com/l2jfrozen/Config.java (revision 594)
+++ head-src/com/l2jfrozen/Config.java (working copy)
@@ -1966,7 +1966,6 @@
public static String PM_SERVER_NAME;
public static String PM_TEXT1;
public static String PM_TEXT2;
+ public static boolean PLAYERS_CAN_HEAL_RB;
public static int RBLOCKRAGE;
public static boolean NEW_PLAYER_EFFECT;
@@ -1989,7 +1988,6 @@
PM_SERVER_NAME = frozenSettings.getProperty("PMServerName", "L2-Frozen");
PM_TEXT1 = frozenSettings.getProperty("PMText1", "Have Fun and Nice Stay on");
PM_TEXT2 = frozenSettings.getProperty("PMText2", "Vote for us every 24h");
+ PLAYERS_CAN_HEAL_RB = Boolean.parseBoolean(frozenSettings.getProperty("PlayersCanHealRb", "True"));
RBLOCKRAGE = Integer.parseInt(frozenSettings.getProperty("RBlockRage", "5000"));
NEW_PLAYER_EFFECT = Boolean.parseBoolean(frozenSettings.getProperty("NewPlayerEffect", "True"));
Index: head-src/com/l2jfrozen/gameserver/model/L2Character.java
===================================================================
--- head-src/com/l2jfrozen/gameserver/model/L2Character.java (revision 594)
+++ head-src/com/l2jfrozen/gameserver/model/L2Character.java (working copy)
+import com.l2jfrozen.gameserver.model.actor.instance.L2GrandBossInstance;
+import com.l2jfrozen.gameserver.model.actor.instance.L2RaidBossInstance;
@@ -1586,17 +1586,6 @@
getAI().notifyEvent(CtrlEvent.EVT_CANCEL);
return;
}
+
+ // Player can't heal rb config
+ if(!Config.PLAYERS_CAN_HEAL_RB
+ && activeChar instanceof L2PcInstance
+ && !((L2PcInstance) activeChar).isGM()
+ && (target instanceof L2RaidBossInstance || target instanceof L2GrandBossInstance)
+ && (skill.getSkillType() == SkillType.HEAL || skill.getSkillType() == SkillType.HEAL_PERCENT))
+ {
+ this.sendPacket( ActionFailed.STATIC_PACKET );
+ return;
+ }
if (activeChar instanceof L2PcInstance && target instanceof L2NpcInstance && Config.DISABLE_ATTACK_NPC_TYPE)
{
|
|
|
|
![]() |
|
|