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
Voltar   Secret Experience > Área L2J > [L2J] Downloads > [Lineage] Java Mods
Registrar Loteria VIPStaff SERegras do fórum Comunidade Arcade Postados Hoje Pesquisar Experience
   

Secret Experience.NET   Secret Experience Corporation - Welcome To The Real World
     Anúncios SE

 
 
LinkBack Ferramentas do Tópico Modos de Exibição
Prev Post Anterior   Próximo Post Next
Antigo 10-04-2010, 09:11 PM   #1 (permalink)
Membro - Veterano
 
Avatar de Guma
 
Registrado em: Sep 2009
Localização: Florianopolis (sc)
Posts: 591
Agradeceu: 72
Agradecido 724 Vezes em 241 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Estado:
Enviar mensagem via Windows Live Messenger para Guma
Nome Real: i'm Guma

Inventório de Guma

Padrão Lista de skills que não afeta raidbosses

Properties:

Código: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
+# List of Skills that arent allowed on RaidBosses
+ForbiddenRaidSkills = 1064,100
+

Config.java

Código: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
@@ -1078,5 +1078,6 @@
     /** Death Penalty chance */
     public static int   DEATH_PENALTY_CHANCE;
-
+    public  static String                        FORBIDDEN_RAID_SKILLS;
+    public static FastList<Integer> FORBIDDEN_RAID_SKILLS_LIST  = new FastList<Integer>();
     /** Player Protection control */
     public static int   PLAYER_SPAWN_PROTECTION;

@@ -1873,5 +1874,11 @@
 
                 DEATH_PENALTY_CHANCE = Integer.parseInt(otherSettings.getProperty("DeathPenaltyChance", "20"));
-            }
+              
+                FORBIDDEN_RAID_SKILLS  = otherSettings.getProperty("ForbiddenRaidSkills",  "1064,100");           
+	            for (String id : FORBIDDEN_RAID_SKILLS.trim().split(",")) 
+	            {
+	                FORBIDDEN_RAID_SKILLS_LIST.add(Integer.parseInt(id.trim()));           
+	                 }
+	            }
             catch (Exception e)
Formulas.java

Código: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
@@ -1548,5 +1548,6 @@
 				&& (type == SkillType.CONFUSION || type == SkillType.MUTE || type == SkillType.PARALYZE
 					|| type == SkillType.ROOT || type == SkillType.FEAR || type == SkillType.SLEEP
-					|| type == SkillType.STUN || type == SkillType.DEBUFF || type == SkillType.AGGDEBUFF))
+					|| type == SkillType.STUN || type == SkillType.DEBUFF || type == SkillType.AGGDEBUFF)
+                    || Config.FORBIDDEN_RAID_SKILLS_LIST.contains(skill.getId()))
 			return false; // these skills should have only 1/1000 chance on raid, now it's 0.
 
@@ -1734,5 +1735,6 @@
 			&& (type == SkillType.CONFUSION || type == SkillType.MUTE || type == SkillType.PARALYZE
 				|| type == SkillType.ROOT || type == SkillType.FEAR || type == SkillType.SLEEP
-				|| type == SkillType.STUN || type == SkillType.DEBUFF || type == SkillType.AGGDEBUFF))
+				|| type == SkillType.STUN || type == SkillType.DEBUFF || type == SkillType.AGGDEBUFF)
+				||  Config.FORBIDDEN_RAID_SKILLS_LIST.contains(skill.getId()))
 			return false; // these skills should not work on RaidBoss
L2Weapon.java

Código: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
@@ -23,4 +23,5 @@
 
 import javolution.util.FastList;
+import net.sf.l2j.Config;
 import net.sf.l2j.gameserver.datatables.SkillTable;
 import net.sf.l2j.gameserver.handler.ISkillHandler;
@@ -323,5 +324,5 @@
         for (L2Skill skill : _skillsOnCrit)
         {
-            if (target.isRaid() && (skill.getSkillType() == SkillType.CONFUSION || skill.getSkillType() == SkillType.MUTE || skill.getSkillType() == SkillType.PARALYZE || skill.getSkillType() == SkillType.ROOT))
+            if (target.isRaid() && (skill.getSkillType() == SkillType.CONFUSION || skill.getSkillType() == SkillType.MUTE || skill.getSkillType() == SkillType.PARALYZE || skill.getSkillType() == SkillType.ROOT ||  Config.FORBIDDEN_RAID_SKILLS_LIST.contains(skill.getId( ))))
                 continue; // These skills should not work on RaidBoss
Creditos: l2j...

Guma está offline  
O seguinte membro ao lado disse Obrigado(a) a : Guma por gostar deste Post :
WebMaster_FoX (23-06-2010)
Links Patrocinados
 


Regras para Posts
Você não pode postar novos tópicos
Você não pode postar respostas
Você não pode postar anexos
Você não pode editar seus posts

Código [IMG] Sim
Código HTML Não
Trackbacks are Sim
Pingbacks are Sim
Refbacks are Sim



Horários baseados na GMT -3. Agora são 06:54 AM.
 



Search Engine Optimization by vBSEO 3.3.0