reds09 1 Posted June 11, 2015 What would be the "names" right to call for a check of a "mob" and if a "skill" is active: Eg (these low are wrong, only one ex) quote if (mob == 1003) { execute} if (== skill AL_INAGI) { execute...} To run such a thing to such skill have to be active and the same and the mob. I've tried several ways, mainly the skill that was up to "src_start" But it still fails. Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted June 11, 2015 (edited) depends on how are you going to trigger, OnNPCKillEvent etc Edited June 11, 2015 by evilpuncker Quote Share this post Link to post Share on other sites
0 reds09 1 Posted June 11, 2015 (edited) depends on how are you going to trigger, OnNPCKillEvent etc On verification of active skill I managed to solve. Well I'm not using OnNPCKillEvent because I want to check with the mob still alive, he would die only after I run what was inside that if. ex: If the mob determined that performs such a thing and at the end he would die or any other things. But as I said in the topic can not verify the mob. if (id == Mob) {} NOTE: If I'm wrong about OnNPCKillEvent correct me... Edited June 11, 2015 by reds09 Quote Share this post Link to post Share on other sites
0 Angelmelody 221 Posted June 11, 2015 who cast the skill ? player or mob? Quote Share this post Link to post Share on other sites
0 reds09 1 Posted June 11, 2015 who cast the skill ? player or mob? Part of the status / skill I managed to solve and the check is running and the player that launches. Now as I said and about checking the mob, it will not launch a skill, but if the "mob" determined happened "X" if any happened "y". Quote Share this post Link to post Share on other sites
What would be the "names" right to call for a check of a "mob" and if a "skill" is active:
Eg (these low are wrong, only one ex)
To run such a thing to such skill have to be active and the same and the mob.
I've tried several ways, mainly the skill that was up to "src_start"
But it still fails.
Share this post
Link to post
Share on other sites