Login
Register
Menu
Home
Help
Members
View the memberlist
Search For Members
L2JMobius
L2JMobius
»
Public Development
»
Shares/Contributions
»
Wolf Waker
Brave Spear - Momentum Power logic implementation
Wolf Waker
Brave Spear - Momentum Power logic implementation
michaldoroz7
·
4 ·
65
Print
Pages:
1
michaldoroz7
Vassal
Posts:
5
Brave Spear - Momentum Power logic implementation
on:
May 25, 2026, 04:23:25 PM
Hey.
I've implemented logic for adding 20% more damage for charging skills when Brave Spear - Momentum Power is ON, also added this buff to GK and Duelist which needed a little script because of not typical process -> 110 lvl gives skill Momentum Power of Valor which replace old Brave Spear with the new one. Right now it's working but maybe there is a better handle for it or create more generic code to use it in the future if similar skills will appear.
Patches:
https://drive.google.com/file/d/1PiTM8d9f5zPRxSEIQniPW_k7mekIShbo/view?usp=sharing
Mobius
Distinguished King
Posts:
19653
Re: Brave Spear - Momentum Power logic implementation
Reply #1 on:
Today
at 01:00:36 AM
I really think on somewhat replace MomentumPowerUpgrade.java with some new skilltree parameter.
Isn't the existing skilltree removeSkill parameter enough?
It can be used with multiple skills.
michaldoroz7
Vassal
Posts:
5
Re: Brave Spear - Momentum Power logic implementation
Reply #2 on:
Today
at 02:19:34 PM
I don’t have access right now to code but the idea I’m thinking about right now is to add generic parameter to skills tree XML like <replaceskill> which will handle cases like this.
Mobius
Distinguished King
Posts:
19653
Re: Brave Spear - Momentum Power logic implementation
Reply #3 on:
Today
at 04:05:07 PM
How about the ReplaceSkillBySkill effect?
Print
Pages:
1
L2JMobius
»
Public Development
»
Shares/Contributions
»
Wolf Waker
Brave Spear - Momentum Power logic implementation
Search
Username
Password
Always stay logged in
Forgot your password?