Jump to content

[Share]No more Backstab from front


Recommended Posts

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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..

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...