Jump to content
  • 0
Sign in to follow this  
reds09

Check "if" to mob and skill

Question

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.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

depends on how are you going to trigger, OnNPCKillEvent etc

Edited by evilpuncker

Share this post


Link to post
Share on other sites
  • 0

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 by reds09

Share this post


Link to post
Share on other sites
  • 0

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".

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.