Siegh
Thronar Developer
Hello, I need help on some quick subject, I haven't been able to find this exact issue on other threads so far.
I simply needs to change variables when casting a spell, and the desired condition is whether the caster is or not targetting a creature.
Here is what I'm working with so far (didn't give it much thought, it should return a false value if nothing is found, but it isn't).
I will really appreciate the help!
I simply needs to change variables when casting a spell, and the desired condition is whether the caster is or not targetting a creature.
Here is what I'm working with so far (didn't give it much thought, it should return a false value if nothing is found, but it isn't).
Code:
if getCreatureTarget(cid) == false then
combat = level1S
else
combat = level1A
end
I will really appreciate the help!