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:
Aleos
2020-04-23 16:53:07 -04:00
committed by GitHub
parent 4a3dac6c93
commit b65443d8f5
8 changed files with 17 additions and 80 deletions

View File

@@ -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;