|
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 |
|
Banido
![]() Registrado em: Nov 2009
Localização: Fortaleza-ce
Posts: 325
Agradeceu: 125
Agradecido 203 Vezes em 82 Posts
Nome Real: Allan Alcântara de Alencar
|
mais uma para vocês. :D
Código:
[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
Index: D:/Code Source L2J/Sources/L2_GameServer/L2_GameServer/java/com/l2jserver/gameserver/skills/Formulas.java
===================================================================
--- D:/Code Source L2J/Sources/L2_GameServer/L2_GameServer/java/com/l2jserver/gameserver/skills/Formulas.java (revision 4415)
+++ D:/Code Source L2J/Sources/L2_GameServer/L2_GameServer/java/com/l2jserver/gameserver/skills/Formulas.java (working copy)
@@ -1804,8 +1804,14 @@
// 2nd lethal effect activate (cp,hp to 1 or if target is npc then hp to 1)
if (skill.getLethalChance2() > 0 && chance < calcLethal(activeChar, target, skill.getLethalChance2(),skill.getMagicLevel()))
{
- if (target instanceof L2Npc)
- target.reduceCurrentHp(target.getCurrentHp() - 1, activeChar, skill);
+ if (target instanceof L2Npc)
+ // *** Mod by Mestoph : Accept Lethal for all undead champion
+ //target.reduceCurrentHp(target.getCurrentHp() - 1, activeChar, skill);
+ if (target.isChampion())
+ target.reduceCurrentHp((double)((target.getCurrentHp() * Config.L2JMOD_CHAMPION_HP) - Config.L2JMOD_CHAMPION_HP), activeChar, skill);
+ else
+ target.reduceCurrentHp(target.getCurrentHp() - 1, activeChar, skill);
+ // ***
else if (target instanceof L2PcInstance) // If is a active player set his HP and CP to 1
{
L2PcInstance player = (L2PcInstance) target;
|
|
|
| Links Patrocinados |
|
|
#2 | ||||||||||||||
|
Membro - Marechal
![]() Registrado em: Apr 2009
Localização: Tailandia
Posts: 288
Agradeceu: 32
Agradecido 45 Vezes em 33 Posts
|
Como faço para adicionar esse Java mod em meu LINEAGE?
|
||||||||||||||
|
|
|
||||||||||||||