I've looked around, but I can't find any plugins that give you more control over how the "speed" option on items and skills work- it's always just a static, additive value to whatever else it uses to determine the action's speed. "Attack speed" only applies to normal attacks, and is still just an additive value.
What I'd like is a way to specify, per item/skill, a custom formula for its speed. Attacks that go faster if you have lower health, or use twice your agility, or always go at a fixed speed. A skill/item notetag that builds an eval would probably be the easiest way.
Something like:
Where "value" is the speed it will use, and starts out with whatever the default formula spat out.
Are there any plugins that do this that I missed, or would anyone be interested in making one?
What I'd like is a way to specify, per item/skill, a custom formula for its speed. Attacks that go faster if you have lower health, or use twice your agility, or always go at a fixed speed. A skill/item notetag that builds an eval would probably be the easiest way.
Something like:
Code:
<custom speed bonus>
value *= 2; // twice your default speed
value += user.atk; // speed bonus from attack power
value *= 1+(user.mhp-user.hp)/user.mhp; // faster at lower health
value = 100-value; // reverse speed, goes faster the slower you are
value = 30; // always acts with a speed of 30, regardless of agility or bonuses
</custom speed bonus>
Are there any plugins that do this that I missed, or would anyone be interested in making one?