- Joined
- Oct 21, 2014
- Messages
- 17
- Reaction score
- 0
- First Language
- English
- Primarily Uses
I'm currently using a lot of references to element rates in my damage formulas. If I multiply an attackers element rate by a defenders element rate, it takes up a lot of room in the formula bar. It is common for a skill to have several multipliers.
a.element_rate(11) * b.element_rate(12) + a.element_rate(13) * b.element_rate(14), etc...
Is there a way to shorten these references to take up less room?
I imagine I can do a few lines of script to define shorter vocabulary. Can someone point me in the right direction? Let's say, I just want to type "a.er(1)" and the formula bar knows I'm referring to the attacker's element rate number 1.
a.element_rate(11) * b.element_rate(12) + a.element_rate(13) * b.element_rate(14), etc...
Is there a way to shorten these references to take up less room?
I imagine I can do a few lines of script to define shorter vocabulary. Can someone point me in the right direction? Let's say, I just want to type "a.er(1)" and the formula bar knows I'm referring to the attacker's element rate number 1.


