mob |
Problem description: What I'm trying to do is look in the NPC's skills and randomly pick a skill within the list. It outputs "NPC used Skill" so it's outputting it right but when it comes to activating the skill, I come up with a runtime error: Cannot execute null.Activate(). I can't seem to find what's wrong.. If it's outputting the skill correctly why won't it activate 'that' skill.
Here's the activate proc:
Activate(mob/User) |