#include "common/hercules.h"
#include "map/status.h"
#include "common/timer.h"
#include "plugins/HPMHooking.h"
#include "common/HPMDataCheck.h"
HPExport struct hplugin_info pinfo = {
"Renovate",
SERVER_TYPE_MAP,
"0.1",
HPM_VERSION,
};
bool status_end_sc_before_start_post( bool retVal, struct block_list *bl, struct status_data *st, struct status_change *sc, enum sc_type type, int undead_flag, int val1, int val2, int val3, int val4 ) {
if ( bl == NULL || st == NULL || sc == NULL || retVal == true )
return true;
if ( type == SC_LIGHTNINGWALK )
status_change_end(bl, SC_LIGHTNINGWALK, INVALID_TIMER);
return false;
}
HPExport void plugin_init(void) {
addHookPost( status, end_sc_before_start, status_end_sc_before_start_post );
}