Code: Select all
function cast(Caster, Target, DDType, MinDmg, MaxDmg)
if MaxDDVal ~= nil and MinDDVal < MaxDDVal then
SpellDamage(Target, DDType, math.random(MinDDVal, MaxDDVal))
else
SpellDamage(Target, DDType, MinDDVal)
end
endAlso, here http://www.eq2emulator.net/wiki/index.p ... pellDamage has the parameter for critical hits, I'm looking for Hit Bonus, Could that be scripted or would that be added to the Tiers tab? Because 99.99 still miss. or would it just be 99? please explain that, and also if it works
[EDIT]http://eq2emulator.net/wiki/index.php/L ... trolEffect At the bottom there is a list of the control types, I take it those ones work but other ones like knockdown, throwback and blur vision ect don't? or if they do what are there ID's?
Thanks again.