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

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.