in my current script, i am attempting to make the antirandom function work every three casts of the certain spell
i have my integer "I" set up to each time after the spell Go "+1" and then i did what i thought logical and did "if (I:= 3+random(2) * X) then Begin, antirandom; end" but it doesnt work
SCAR Code:if (I := 3+random(2) * X) then
begin
Antirandom;
end
it compiles and everything, and when I=3 it does the antirandom, but not everytime it is a multiple of three.
any suggestions on how to make this work?





Reply With Quote
