I want to edit the true strike spell.
I want to make it depending on GetCasterLevel.
I assume I will have to make some "if" conditions like
if GetCasterLevel(OBJECT_SELF)..........
but how do I have to script it correct?
I tried smt like:
int nCasterLvl = GetCasterLevel(OBJECT_SELF);
if (nCasterLvl =< 5 )
{ ....... and so on}
but then I got an error message.
How can I tell the script that when nCasterLvl is 5 or less than do this
and when nCasterLvl is 6 or between 6 and 10 then do this and so on...