![]() |
AI and level controls
Hello,
i have a little problem compiling a part of a code: Code:
class MyClass : ParentClassCode:
MyVar = MyVar * (myself.sm.level / speller.level); |
you can't change parameters, use built-in variables instead
|
handler:
EventHandler SPELLED(speller, skill_name_id,c1) { if ((myself.sm.level / speller.level) < 1) { c1 = c1 * (myself.sm.level / speller.level); } } } |
tx for your answer :)
|
actually cX are CreatureData variables, you should use fX variables in this example
|
yes you are right, i used i0 and it works great now, tx a lot fo your advices :)
|
| All times are GMT. The time now is 15:40. |