-
Posts
42 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by destrodevianne
-
-
-
thank you for answering, I've already been able to solve the most complicated part
the Vitality effect is replaced by Sleep
player.startAbnormalEffect(AbnormalEffect.SLEEP );
-
On 1/23/2018 at 7:18 PM, ThelwHelpRePaidia said:
Hello..read the code and you will understand what is it
go to
net.sf.l2j.gameserver.model.actor.instance.Player.java
find this
find final boolean hadHero
and put this
private int spreeKill = 0; private int spreeKills = 0; private int KILL_STEAK = 0;
it will look like that
find final boolean hadHero private int spreeKill = 0; private int spreeKills = 0; private int KILL_STEAK = 0;
now find this
setPvpKills(getPvpKills() + 1);
and put this
KILL_STEAK++; switch (KILL_STEAK) { case 20: sendMessage("You are almost on a killing spree 5 more kills"); break; case 25: Broadcast.announceToOnlinePlayers(getName() + " is on a killing spree!!"); startAbnormalEffect(AbnormalEffect.SLEEP); //SLEEP = VITALITY EFFECT setHero(true); PlaySound _snd25 = new PlaySound(1, "killing spree"); sendPacket(_snd25); break; } spreeKill++; switch (spreeKill) { case 1: sendPacket(new CreatureSay(0, 0, "PvP", getName() + " just got a First Blood!!")); break; case 2: sendPacket(new CreatureSay(0, 2, "PvP", getName() + " just got a Double Kill!!")); break; case 3: sendPacket(new CreatureSay(0, 3, "PvP", getName() + " just got a Triple Kill!!")); break; case 4: sendPacket(new CreatureSay(0, 4, "PvP", getName() + " has a Quadra kill!!!")); break; case 5: sendPacket(new CreatureSay(0, 0, "PvP", getName() + " has a Penta Kill!!")); break; case 6: sendPacket(new CreatureSay(0, 2, "PvP", getName() + " just got a Legendary!!")); break; } spreeKills++; switch (spreeKills) { case 1: PlaySound _snd1 = new PlaySound(1, "firstblood"); sendPacket(_snd1); break; case 2: PlaySound _snd2 = new PlaySound(1, "doublekill"); sendPacket(_snd2); break; case 3: PlaySound _snd3 = new PlaySound(1, "triplekill"); sendPacket(_snd3); break; case 4: PlaySound _snd4 = new PlaySound(1, "quadrakill"); sendPacket(_snd4); break; case 5: PlaySound _snd5 = new PlaySound(1, "pentakill"); sendPacket(_snd5); break; case 6: PlaySound _snd6 = new PlaySound(1, "legendary"); sendPacket(_snd6); break; default: }
find this
public boolean doDie(Creature killer)
and put this
if (KILL_STEAK > 0) { if (KILL_STEAK > 24) Broadcast.announceToOnlinePlayers(killer.getName() + " has stopped " + getName() + "'s killing spree of " + KILL_STEAK + " kills!!"); if (!hadHero) setHero(false); stopAbnormalEffect(AbnormalEffect.SLEEP); spreeKill = 0; spreeKills = 0; KILL_STEAK = 0; }
Download this file Vitality Effect Interlude
Download this file League of Legends Sounds (PUT THEM IN THE Music folder in you Lineage II)
And you are done.
it's possible for someone to have the effects and sounds, links are down.
Thanks.
-
-
Thanks , nice job.
-
Hi thank you for share
- 1
-
Thx for share!
-
Thanks for share!
-
Thanks for share!
-
Thanks for you guide! Very thanks.
-
[C6]Patch By Eddy v4.5.7 NEW ! 2019-01-29
in Client Development Discussion
Posted
links offline