Hyoru Posted February 3, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 122 Reputation: 11 Joined: 01/30/12 Last Seen: Thursday at 11:26 AM Share Posted February 3, 2012 Hello, how can i do to make sinx lost 1 of aspd when using enchant deadly poison? Thanks. Quote Link to comment Share on other sites More sharing options...
Lighta Posted February 3, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted February 3, 2012 (edited) hi not the exact solution here since aspd isn't modified directly. Here a change for 10/100 loss : Index: status.c ============================================ --- Base (BASE) +++ Locally Modified (Based On LOCAL) @@ -302,7 +302,7 @@ set_sc( PA_GOSPEL , SC_GOSPEL , SI_BLANK , SCB_SPEED|SCB_ASPD ); add_sc( PA_GOSPEL , SC_SCRESIST ); add_sc( CH_TIGERFIST , SC_STOP ); - set_sc( ASC_EDP , SC_EDP , SI_EDP , SCB_NONE ); + set_sc( ASC_EDP , SC_EDP , SI_EDP , SCB_ASPD ); set_sc( SN_SIGHT , SC_TRUESIGHT , SI_TRUESIGHT , SCB_STR|SCB_AGI|SCB_VIT|SCB_INT|SCB_DEX|SCB_LUK|SCB_CRI|SCB_HIT ); set_sc( SN_WINDWALK , SC_WINDWALK , SI_WINDWALK , SCB_FLEE|SCB_SPEED ); set_sc( WS_MELTDOWN , SC_MELTDOWN , SI_MELTDOWN , SCB_NONE ); @@ -4604,6 +4604,8 @@ aspd_rate -= aspd_rate * sc->data[sC_BOOST500]->val1/100; if(sc->data[sC_EXTRACT_SALAMINE_JUICE]) aspd_rate -= aspd_rate * sc->data[sC_EXTRACT_SALAMINE_JUICE]->val1/100; + if(sc->data[sC_EDP]) + aspd_rate += aspd_rate * 10/100; return (short)cap_value(aspd_rate,0,SHRT_MAX); } you can still try to modify it directly with altering status->amotion Edited February 3, 2012 by Lighta Quote Link to comment Share on other sites More sharing options...
Hyoru Posted February 3, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 122 Reputation: 11 Joined: 01/30/12 Last Seen: Thursday at 11:26 AM Author Share Posted February 3, 2012 Thank you. Quote Link to comment Share on other sites More sharing options...
Question
Hyoru
Hello, how can i do to make sinx lost 1 of aspd when using enchant deadly poison? Thanks.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.