Jump to content
  • 0
Sign in to follow this  
anjasoleil0

Desperado skill

Question

7 answers to this question

Recommended Posts

  • 0

@@anjasoleil0

 

i tried to test it and this is the result, i remember when i used rA and i got the same problem like yours



@@anjasoleil0 maybe try to remove this line 

 

trunk/src/map/skill.c

recompile after changing

[cbox] case GS_DESPERADO:
if (rnd()%100 < src->val1)
skill->attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);
break;[/cbox]

 

put // in if (rnd()%100 < src->val1)

Edited by Zhao Chow

Share this post


Link to post
Share on other sites
  • 0

@@anjasoleil0

 

i tried to test it and this is the result, i remember when i used rA and i got the same problem like yours

 

 

@@anjasoleil0 maybe try to remove this line 

 

trunk/src/map/skill.c

recompile after changing

[cbox] case GS_DESPERADO:

if (rnd()%100 < src->val1)

skill->attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);

break;[/cbox]

 

put // in if (rnd()%100 < src->val1)

 

 

 

I tried it and got the same result, i prolly 

 

 

case GS_DESPERADO:
 // if (rnd()%100 < src->val1)
skill->attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);
break;
default:
skill->attack(skill->get_type(sg->skill_id),ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);
}
break;

 

 

and 
 
case GS_DESPERADO:

 

if (rnd()%100 < src->val1)
//skill->attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);
 // break;
//default:
skill->attack(skill->get_type(sg->skill_id),ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);
}
break;

 

What am I missing?

 

BTW. Thanks for the reply.

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.