Page 1 of 1

Recharge Not Like Off?

Posted: Sat Oct 09, 2010 12:12 am
by Feldan
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:4420
L2JDP Revision Number:7668

Just setup a server after along time away from the game and noticed recharge on EE and SE are not affected by level character level difference. As i remember on official it was that if recharger is 5 lvls lower than target, recharge is only 50% effective if recharger is 10 lvls lower than target recharge is 0MP. We tried 61 SE 81 WL recharge was 100% effective.

Been awhile since I played though. Is it correct for the level difference to not affect amount of recharge or is the skill incorrect?

Re: Recharge Not Like Off?

Posted: Sat Oct 09, 2010 1:08 am
by MELERIX
already reported on internal forum, skillType should be MANA_BY_LEVEL instead of MANARECHARGE but this requiere support.

Re: Recharge Not Like Off?

Posted: Sat Oct 09, 2010 11:32 am
by antons007

Code: Select all

Index: ManaHeal.java===================================================================--- ManaHeal.java    (revision 7668)+++ ManaHeal.java    (working copy)@@ -53,7 +53,11 @@                          double mp = skill.getPower();             mp = (skill.getSkillType() == L2SkillType.MANARECHARGE) ? target.calcStat(Stats.RECHARGE_MP_RATE, mp, null, null) : mp;-            +            int lvlDiff=actChar.getLevel()-target.getLevel();+            if(lvlDiff >= 5)+                mp/=2;+            else if(lvlDiff >= 10)+                mp=0;             //from CT2 u will receive exact MP, u can't go over it, if u have full MP and u get MP buff, u will receive 0MP restored message             if ((target.getCurrentMp() + mp) >= target.getMaxMp())                 mp = target.getMaxMp() - target.getCurrentMp(); 
something like this?

Re: Recharge Not Like Off?

Posted: Sat Oct 09, 2010 12:11 pm
by jurchiks
it would probably be better to make a different L2SkillType for that, not edit the manarecharge

Re: Recharge Not Like Off?

Posted: Sat Oct 09, 2010 9:09 pm
by MELERIX
skillType needed is present is called "MANA_BY_LEVEL" but require support.

Re: Recharge Not Like Off?

Posted: Sat Oct 09, 2010 10:15 pm
by jurchiks
more details??