Removal of OnPCStatCalcEvent (#4831)
* Fixes #4812. * This script event can be replaced with the other various player script events. * The trigger during equipment changing causes headache across other calculation events in source.
This commit is contained in:
@@ -4599,8 +4599,6 @@ const char *npc_get_script_event_name(int npce_index)
|
||||
return script_config.kill_pc_event_name;
|
||||
case NPCE_KILLNPC:
|
||||
return script_config.kill_mob_event_name;
|
||||
case NPCE_STATCALC:
|
||||
return script_config.stat_calc_event_name;
|
||||
default:
|
||||
ShowError("npc_get_script_event_name: npce_index is outside the array limits: %d (max: %d).\n", npce_index, NPCE_MAX);
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user