Check "if" to mob and skill

reds09

New member
Messages
34
Points
0
Github
reds09
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.

 
depends on how are you going to trigger, OnNPCKillEvent etc

 
Last edited by a moderator:
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...
 
Last edited by a moderator:
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".
 
Back
Top