johnbond Posted August 10, 2014 Share Posted August 10, 2014 I would like to ask which of the "warg skills" is used for the "auto-warg" of rangers wherein the warg automatically charges during normal attacks? 2242,0,6,4,0,0x2,1,1,0,no,0,0,0,weapon,0, RA_WUGDASH,Warg Dash 2243,9,8,1,-1,0,0,5,1,no,0,0,0,weapon,0, RA_WUGSTRIKE,Warg Strike 2244,9,8,1,-1,0,0,5,1,no,0,0,0,weapon,0, RA_WUGBITE,Warg Bite I plan to reduce its chance to auto-warg by less 25%, where and how can I adjust it in SRC? Thank you guys! Quote Link to comment Share on other sites More sharing options...
0 iSnowFlakes Posted April 12, 2021 Share Posted April 12, 2021 bump on this, how can i adjust the auto warg damage? Quote Link to comment Share on other sites More sharing options...
Jarek Posted August 11, 2014 Share Posted August 11, 2014 src\map\skill.c // Automatic trigger of Warg Strike [Jobbie] if( pc_iswug(sd) && (sd->status.weapon == W_BOW || sd->status.weapon == W_FIST) && (skill=pc_checkskill(sd,RA_WUGSTRIKE)) > 0 && rnd()%1000 <= sstatus->luk*10/3+1 ) skill_castend_damage_id(src,bl,RA_WUGSTRIKE,skill,tick,0); Chance is "sstatus->luk*10/3+1" Quote Link to comment Share on other sites More sharing options...
johnbond Posted August 24, 2014 Author Share Posted August 24, 2014 src\map\skill.c // Automatic trigger of Warg Strike [Jobbie] if( pc_iswug(sd) && (sd->status.weapon == W_BOW || sd->status.weapon == W_FIST) && (skill=pc_checkskill(sd,RA_WUGSTRIKE)) > 0 && rnd()%1000 <= sstatus->luk*10/3+1 ) skill_castend_damage_id(src,bl,RA_WUGSTRIKE,skill,tick,0); Chance is "sstatus->luk*10/3+1" Umm so can you give me an example on how to reduce its chance to auto-attack by -25%? Thank you my friend. Quote Link to comment Share on other sites More sharing options...
GmOcean Posted August 24, 2014 Share Posted August 24, 2014 You just need to change the formula. sstatus->luk*10/3+1 //Original. At 99 Luk, this gives players a 34% chance to auto-warg. sstatus->luk*7/3+1 //Edited. At 99 Luk this gives players a 23% Chance to auto-warg. That's essentially a 30% reduction OF 35%. Quote Link to comment Share on other sites More sharing options...
johnbond Posted August 25, 2014 Author Share Posted August 25, 2014 You just need to change the formula. sstatus->luk*10/3+1 //Original. At 99 Luk, this gives players a 34% chance to auto-warg. sstatus->luk*7/3+1 //Edited. At 99 Luk this gives players a 23% Chance to auto-warg. That's essentially a 30% reduction OF 35%. How were you able to compute it? Quote Link to comment Share on other sites More sharing options...
johnbond Posted August 28, 2014 Author Share Posted August 28, 2014 I mean please elaborate on how this is computed so I can do the computations by myself someday if I wanted to change the chances again. Thank you. Quote Link to comment Share on other sites More sharing options...
GmOcean Posted August 29, 2014 Share Posted August 29, 2014 Your ((((LUK Stat x 10) / 3)+1)/1000)=%. Ex: 99x10=990/3=330+1=331/1000=.331=33.1% Quote Link to comment Share on other sites More sharing options...
I would like to ask which of the "warg skills" is used for the "auto-warg" of rangers wherein the warg automatically charges during normal attacks?
I plan to reduce its chance to auto-warg by less 25%, where and how can I adjust it in SRC?
Thank you guys!
Link to comment
Share on other sites