Skip to content

[Share]No more Backstab from front

Featured Replies

Well,there are few packs that they have a bug that daggers can backstab from front.. :o

I'm here to give a solution to this xD

 

Head there :

net.sf.l2j.gameserver.handler.skillhandlers.Blow.java

Find these lines and delete them :

                public final static int FRONT = Config.BLOW_FRONT_RATE; 
                public final static int SIDE = Config.BLOW_SIDE_RATE; 
                public final static int BEHIND = Config.BLOW_BACK_RATE; 

                public void useSkill(L2Character activeChar, L2Skill skill, L2Object[] targets){ 

In their place add these :

                public static int FRONT = Config.BLOW_FRONT_RATE; 
        public static int SIDE = Config.BLOW_SIDE_RATE; 
        public static int BEHIND = Config.BLOW_BACK_RATE; 

        public void useSkill(L2Character activeChar, L2Skill skill, L2Object[] targets) 
        { 
                if(skill.getId() == 30) 
                { 
                        FRONT = 0; 
                        SIDE = 0; 
                        BEHIND = Config.BLOW_BACK_RATE; 
                } 

Now head here :

net.sf.l2j.gameserver.handler.skillhandlers.Pdam.java 

Delete these lines :

                                        else 
                                                 target.reduceCurrentHp(damage, activeChar);

And in their place add those :

                                                else if(skill.getId() == 30) 
                                        { 
                                                double Hpdam = 0; 

                                                if (damage >= target.getCurrentHp()) 
                                                { 
                                                        target.setCurrentHp(0); 
                                                        target.doDie(activeChar); 
                                                } 
                                                else 
                                                { 
                                                        Hpdam = (target.getCurrentHp() - damage); 
                                                        target.setCurrentHp(Hpdam); 
                                                } 
                                        } 
                                        else target.reduceCurrentHp(damage, activeChar); 

 

 

Credits : excellence

Actually that's a stupid non-retail code by Realtek.

 

mate it might be non-retail but for l2j servers that do not have a proper backstab support its good..

havent u been sweared from nabs saying omg backstab bug!

so what exactly this does? u are not allowed to hit backstab from front or u hit but it never lands?

  • Author

Why i need new config?

If i set chanse to 0 it' don't works?

 

FrontSuccessChance=0

Firstly,this config is used for all dagger skills

Secondly,most of the packs dont have it..

Only Backstab does not land from frond and from side..

That's how it should actually work, on retail you can succeed backstab from side & front, the chances are way lower though.

jesus christ guys please...i accept it when you guys fuck up l2 with stupid customs...but dont destroy retail things PLEASE im begging you leave l2j...

jesus christ guys please...i accept it when you guys -beep- up l2 with stupid customs...but dont destroy retail things PLEASE im begging you leave l2j...

that happens when some ppl in here make this super guides and anyone can open a L2j srv and make any customization he wants

 

 

Btw this rates for backstab are great,but also backstab lands normally from gear on a fixed rate and rarely from front

that happens when some ppl in here make this super guides and anyone can open a L2j srv and make any customization he wants

 

 

Btw this rates for backstab are great,but also backstab lands normally from gear on a fixed rate and rarely from front

 

but whats the point i mean thats 2 failure in 1

 

1st its called backstab not because it land from back ONLY

2nd if it would be like that than l2j and all the forks would have it like that but no hence thats 1 of the most retarded shares here

sorry when i say 'this rates' i mean retail ones(missunderstanding)

 

Only someone that haven't played L2 as normal player would use this rates(0 front 0 rear)

sorry when i say 'this rates' i mean retail ones(missunderstanding)

 

Only someone that haven't played L2 as normal player would use this rates(0 front 0 rear)

 

yes or someone who dont know how to balance and instead of balance he fuck up hes server

Excellence,believe me..

 

well im excellence. :D

and the code should be reworked first :)

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.