Apply Debuff

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
User avatar
HappyLDE
Posts: 123
Joined: Tue Sep 10, 2013 6:22 pm
Location: Belgium
Contact:

Apply Debuff

Post by HappyLDE »

Revisions:
DP: 10449
Server: 6652

Code: Select all

ย // Apply stunSkillData.getInstance().getSkill(92, 100).applyEffects(player, player);
I want to apply debuff to player but it says player resisted very often. How to make it 100% cast? Also when debuff passes, it doesn't last the number of seconds it should be. For example here the stun should be 9 seconds but lasts 4 sec max.

Thanks in advance :D
Thank you for making L2JServer happen! :D
"If you believe you will fail or succeed, in both ways you are right." - Henry Ford
User avatar
Zealar
L2j Veteran
L2j Veteran
Posts: 1236
Joined: Sun Jul 15, 2007 10:29 am

Re: Apply Debuff

Post by Zealar »

Don't think is possible without core edit. Better made new custom skill and use them.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Apply Debuff

Post by Zoey76 »

You can change the duration, but you can't change the chance on-the-fly just yet.
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
HappyLDE
Posts: 123
Joined: Tue Sep 10, 2013 6:22 pm
Location: Belgium
Contact:

Re: Apply Debuff

Post by HappyLDE »

Thank you for answer :wink:
Thank you for making L2JServer happen! :D
"If you believe you will fail or succeed, in both ways you are right." - Henry Ford
Post Reply