Here's stock eqemu:
Code:
case 122:
{
// May need to account for duration focus effects
int ticdif = spells[spell_id].buffduration - (ticsremaining - 1);
if(ticdif < 0)
ticdif = 0;
result = updownsign * (ubase - (12 * ticdif));
break;
}
Using the above formula or equivalent and splurt's stats from the Trilogy CD (8/22/01) spdat:
Quote:
Mana Required: 237
Spell Duration: 16 ticks (1.6 minutes)
Duration Formula: 1
Casting Time: 4.0 seconds
Spell Recovery: 2.50 seconds
|
should give us the classic spell.
The deal with duration over time spells occasionally getting an extra tick should probably be revisited in another thread.