Skip to content

[Share] Java Code - Don't remove the buffs in death

Featured Replies

  • Author

 

Για  Gracia & Freya packs

 

Παμε στο com.it.br.gameserver.model.actor και βρισκουμε το L2Character.java

Στην συνεχεια κανουμε με Ctrl + F αναζητησει τo παρακατω: java

stopAllEffectsExceptThoseThatLastThroughDeath();

 

Και κανουμε αντικατασταση τον κωδικα που αναζητησαμε με τον παρακατω: java

if (!Config.REMOVE_BUFFS_ENABLED)
      stopAllEffectsExceptThoseThatLastThroughDeath();

 

Στα υπολοιπα δεν αλλαζει τιποτα ελπιζω να βοηθησα  :)

 

 

nai re agori to eida kai mprabo soy gia to topik emena tha me boithisi poli ayto  kai signomi kai gia to priksimo tha soy edina +1 karma alla den ksero pos deinete thx

 

α δηλαδη παλι καλα που δεν εισαι VIP...

 

btw Good job,ειναι αρκετα ευκολο αλλα πολυ ωραιο για εναν σερβερ

yto edw m bgazei // Same thing if the Character isn't a Noblesse Blessed L2PlayableInstance

else if (this instanceof L2Playable && ((L2Playable)this).isNoblesseBlessed())

{

((L2Playable)this).stopNoblesseBlessing(null);

 

if (((L2Playable)this).getCharmOfLuck()) //remove Lucky Charm if player have Nobless blessing buff

((L2Playable)this).stopCharmOfLuck(null);

}

else

if (!Config.REMOVE_BUFFS_ENABLED)

      stopAllEffectsExceptThoseThatLastThroughDeath();

 

if (this instanceof L2PcInstance && ((L2PcInstance)this).getAgathionId() != 0)

((L2PcInstance)this).setAgathionId(0);

calculateRewards(killer);

 

  • Author

loipon file m 8elw tn boi8ia sou an me boithiseis 8 sou eimai eygnwmwn loipon orew t share p exeis kanei k m aresh alla to 8ema einai allou oti egw eimai newbie kai dn t pl katalabenw mporeis se parakalw n me help ligw se ayto gt exw enan server pvp kai 8elw n mhn feygoun t buff mporeis gia sena 2 leptakia einai apo tn xrwnw s ena nai h oxi na m peis gt apo t exeis katalabh k mono esy k o 8eos  eistai  h teleftea m elpida,.............?

 

1) καλο θα ειναι να μην κανεις double post δηλαδη 2 post συνεχομενα!

2) Απο τι βλεπω το εχεις κανει σωστα απλα συνεχιζεις τι διαδικασια με το config όπως λεω και στο guide και εισαι κομπλε! δεν ξερω σε τι αλλο μπορω να βοηθησω  :-\

exeis dikio t kanw ola ayta p m les esy k ola ginontai sto worckspace oxi sto diko m t server se ayto mporeis n me help ???????//

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.