01-14-2010, 07:04 PM
I think your animation system is becoming more complex than mine o_o
And mine sets the number of frames using this:
REGEXP IS POWER
Anyways just finished state resistance handling. States now have three values that can fluxuate between each cast: potency, duration, and tick length. Potency is how much of the state's effect is applied, i.e. a state that lowers attack by 20% will only lower it by 10% at 50 potency. Duration is how many ticks it will last. Tick length is how long it takes for a tick (i.e. the damage from poison) occurs. The more the state gets resisted, the greater the effect on the potency and/or duration and/or tick length.
You'd be surprised at how easy it is to type 'resixtance' and have a bunch of errors spit at you ._.
And mine sets the number of frames using this:
Code:
if filename[/([\w]*)_((?:R[\d]L[\d])|(?:2H[\d]))(_F[\d]){0,1}(_[\w]*){0,1}(_[\w]*){0,1}(_[\w]*)/] != nil
Anyways just finished state resistance handling. States now have three values that can fluxuate between each cast: potency, duration, and tick length. Potency is how much of the state's effect is applied, i.e. a state that lowers attack by 20% will only lower it by 10% at 50 potency. Duration is how many ticks it will last. Tick length is how long it takes for a tick (i.e. the damage from poison) occurs. The more the state gets resisted, the greater the effect on the potency and/or duration and/or tick length.
You'd be surprised at how easy it is to type 'resixtance' and have a bunch of errors spit at you ._.