Hyoru Posted February 3, 2012 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 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 Author Share Posted February 3, 2012 Thank you. Quote Link to comment Share on other sites More sharing options...
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