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?
Recharge Not Like Off?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- MELERIX
- L2j Veteran
- Posts: 6667
- Joined: Sat Sep 23, 2006 11:31 pm
- Location: Chile
- Contact:
Re: Recharge Not Like Off?
already reported on internal forum, skillType should be MANA_BY_LEVEL instead of MANARECHARGE but this requiere support.
-
- Posts: 149
- Joined: Sat Sep 12, 2009 4:18 pm
Re: Recharge Not Like Off?
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();
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Recharge Not Like Off?
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- MELERIX
- L2j Veteran
- Posts: 6667
- Joined: Sat Sep 23, 2006 11:31 pm
- Location: Chile
- Contact:
Re: Recharge Not Like Off?
skillType needed is present is called "MANA_BY_LEVEL" but require support.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Recharge Not Like Off?
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.