Jump to content
  • 0
Sign in to follow this  
reds09

Skill Edition

Question

I'm trying to customize the skill "theft" of the thief (TF_STEAL ID: 50) so she only run the "theft" if the check is positive.

For example:

Only steal the mob have such "item"

So steal if such a "mob"

So steal the mob is specified with both hp

I began trying to verify the mob and was thus put this warning an error.

case TF_STEAL:            if(sd) {            if(src->bl.id == 1002) {            if(pc->steal_item(sd,bl,skill_lv))               clif->skill_nodamage(src,bl,skill_id,skill_lv,1);            else               clif->skill_fail(sd,skill_id,USESKILL_FAIL,0);            }            }

 

I tried that, but the wrong one "block_lista", saying as "bl" did not exist...

 

Does anyone know show me "function" right?

If you need to change the src I thought to modify the "killedrid" to receive the parameter when "attack" the mob rather than when he "died" but have little knowledge of src to do this is if someone can indicate.

Edited by reds09

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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