Fix Ranged Launch Event to call proper event instead of Attack

This commit is contained in:
Kam committed 2024-03-13 15:30:13 -04:00
1 parent f503166ccd
commit c5a0db1d24
1 file changed
+1 -1
+1 -1
View File
@@ -197,7 +197,7 @@ public class EventHooks {
return false;
ScriptController.Instance.globalNpcScripts.callScript(EnumScriptType.RANGED_LAUNCHED, event);
npc.script.callScript(EnumScriptType.ATTACK, event, "target", event.target);
npc.script.callScript(EnumScriptType.RANGED_LAUNCHED, event, "target", event.target);
return NpcAPI.EVENT_BUS.post(event);
}