Angelmelody
(\ /) ( . .)
found a bug , this plugin will cause certain skills which target on a mob failed (e.g. Provoke)Updated to Version 1.1, Please download it.
I fix it by myself
Code:
int status_change_start_postAura(int retVal,struct block_list *src, struct block_list *bl, enum sc_type type, int rate, int val1, int val2, int val3, int val4, int tick, int flag) { //[Dastgir Pojee/Hercules] if (retVal == 0){ return 0; } if (bl->type == BL_PC) { struct map_session_data *sd = BL_CAST(BL_PC, bl); int effect1, effect2, effect3; if(sd) { effect1 = pc_readglobalreg(sd, script->add_str("USERAURA")); effect2 = pc_readglobalreg(sd, script->add_str("USERAURA1")); effect3 = pc_readglobalreg(sd, script->add_str("USERAURA2")); if ((effect1 > 0 || effect2>0 || effect3>0) && (type == SC_HIDING || type == SC_CLOAKING || type == SC_CHASEWALK || sd->sc.option == OPTION_INVISIBLE || type == SC_CHASEWALK || type == SC_CHASEWALK2 || type == SC_CAMOUFLAGE)){ effect1 *= -1; effect2 *= -1; effect3 *= -1; clif->clearunit_area(&sd->bl, 0); clif_getareachar_char(&sd->bl, 0); } } } return 1;}
