So i have a question. I have a wand script where the wands damage is dependent on the characters level that is using it...Here is the formula:
Lua:
function onGetFormulaValues(cid, level, maglevel)
local min = -(level * 1.0) * 1.0
local max = -(level * 3.0) * 1.0
return min, max
end[code=lua]
My question is..if i want to make it hit a set damage like normaly, how would i do that in a lua script?(i know i can do it in weapons.xml but i want to do it in the script)
So say i wanted to change the formula above to instead make the wand hit anywhere from 100-300 no matter what..how would i do that?
I hope i was clear enough...thanks guys.
REP++