Page 1 of 1
Need help with modifiying skill.
Posted: Sun Sep 16, 2012 10:43 pm
by fdanielc
My thought is:
A skill in duelist class that uses charges in this way. For Ex:
1 charge = 1.10 pAtk
2 charges = 1.20 pAtk
and so on until 6 charges.
My problem is how to make the skill consume the available charges and apply the stats for each level of charges?
Help needed. Thank you
Re: Need help with modifiying skill.
Posted: Sun Sep 16, 2012 11:29 pm
by MELERIX
if you mean about formula, use: (1 + (0.1 * current charges))
Re: Need help with modifiying skill.
Posted: Sun Sep 16, 2012 11:36 pm
by fdanielc
MELERIX wrote:if you mean about formula, use: (1 + (0.1 * current charges))
The formula i can do, what i can't is:
"requiredCharges" When using this definition in skill, it's the only "value" of charges that it will consume.
But i wan't it to consume all available charges up to 6 (max i wan't).
Re: Need help with modifiying skill.
Posted: Mon Sep 17, 2012 8:12 am
by MELERIX
then modify the condition.
<player Charges="3" /> to other amount of charges.
Re: Need help with modifiying skill.
Posted: Mon Sep 17, 2012 12:24 pm
by fdanielc
MELERIX wrote:then modify the condition.
<player Charges="3" /> to other amount of charges.
I wan't the skill to take the amount of charges the player has. Not a defined amount of charges.
For ex:
Player Charges 4 = Skill take's 4 charges + give stats for 4 charges
Player Charges 5 = Skill take's 5 charges + give stats for 5 charges
Player Charges 8 = Skill take's only 6 charges + give stats for 6 charges