Recharge Not Like Off?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Feldan
Posts: 25
Joined: Thu Jul 28, 2005 2:54 am

Recharge Not Like Off?

Post 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?
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Recharge Not Like Off?

Post by MELERIX »

already reported on internal forum, skillType should be MANA_BY_LEVEL instead of MANARECHARGE but this requiere support.
antons007
Posts: 149
Joined: Sat Sep 12, 2009 4:18 pm

Re: Recharge Not Like Off?

Post 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?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Recharge Not Like Off?

Post by jurchiks »

it would probably be better to make a different L2SkillType for that, not edit the manarecharge
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Recharge Not Like Off?

Post by MELERIX »

skillType needed is present is called "MANA_BY_LEVEL" but require support.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Recharge Not Like Off?

Post by jurchiks »

more details??
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Post Reply