Jump to content
  • 0
Sign in to follow this  
Begin

Auto-Falcon Assault when linked

Question

Hi Everyone!

Found this source mod on some topics:

                if(pc_isfalcon(sd) && sd->weapontype == W_BOW && sc && sc->data[SC_SOULLINK] && sc->data[SC_SOULLINK]->val2 == SL_HUNTER) {
                    skill->castend_damage_id(src,bl,SN_FALCONASSAULT,temp,tick,0);
                    }

And it says that this is 15% chance. But when I test it, it's like 100%. May I know where to edit the line to make it lower?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
if( pc_isfalcon(sd) && sd->weapontype == W_BOW && sc && sc->data[SC_SOULLINK] && sc->data[SC_SOULLINK]->val2 == SL_HUNTER && pc->checkskill(sd,SN_FALCONASSAULT) > 0 && rand()%100 <= 15 )
	skill->castend_damage_id(src,bl,SN_FALCONASSAULT,1,tick,SD_LEVEL);

This will give you 15% chance.
Edit the <= 15 ) to chance you want.

Edited by vBrenth

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.