Begin 11 Posted June 9, 2018 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? Quote Share this post Link to post Share on other sites
0 vBrenth 39 Posted June 9, 2018 (edited) 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 June 9, 2018 by vBrenth 3 master@ragna, Begin and ThyroDree reacted to this Quote Share this post Link to post Share on other sites
0 Begin 11 Posted June 9, 2018 Hello vBrenth, It works now. Thank you very much for the help! I'm your player from anRO Quote Share this post Link to post Share on other sites
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