Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 08/30/20 in all areas

  1. 1 point
    Samuel

    hit-delay plugin

    Sorry didn't see it was a Pre hook void pc_damage_received(struct map_session_data **sd, struct block_list **src, unsigned int *hp, unsigned int *sp) { struct warp_delay_tick *delay_data; if ((map_flag_gvg((*sd)->bl.m)) || (map_flag_gvg2((*sd)->bl.m))) { return; } if ((delay_data = getFromMSD(*sd, 0)) == NULL) { CREATE(delay_data,struct warp_delay_tick,1); addToMSD(*sd,delay_data,0,true); } delay_data->last_hit = timer->gettick(); if (*src) delay_data->who_hit = (*src)->type; else delay_data->who_hit = BL_NUL; return; }
  2. 1 point
    Samuel

    hit-delay plugin

    Try this, haven't tested yet void pc_damage_received(struct map_session_data **sd, struct block_list **src, unsigned int *hp, unsigned int *sp) { struct warp_delay_tick *delay_data; if ((map_flag_gvg(sd->bl.m)) || (map_flag_gvg2(sd->bl.m))) { return; } if ((delay_data = getFromMSD(*sd, 0)) == NULL) { CREATE(delay_data,struct warp_delay_tick,1); addToMSD(*sd,delay_data,0,true); } delay_data->last_hit = timer->gettick(); if (*src) delay_data->who_hit = (*src)->type; else delay_data->who_hit = BL_NUL; return; } Replace the pc_damage_received function with that. Back it up first before replacing.
  3. 1 point
    Strow

    [Guide] Adding New Status Icons

    I cannot replicate the examples in the current emulator.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.