I believe there is a problem with the trigger() function. When I do
NPC Code:
player.trigger("hit",acc)
Then the action is called, but I believe the param is not being sent.
However, when I do
NPC Code:
player.trigger("hit",acc,"lala");
Then I can check the params. I'm pretty sure it's supposed to work with just one param?