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

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.