File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -932,6 +932,7 @@ ALERegister<Creature> CreatureMethods[] =
932932 { " CallForHelp" , &LuaCreature::CallForHelp },
933933 { " CallAssistance" , &LuaCreature::CallAssistance },
934934 { " RemoveCorpse" , &LuaCreature::RemoveCorpse },
935+ { " AllLootRemovedFromCorpse" , &LuaCreature::AllLootRemovedFromCorpse },
935936 { " DespawnOrUnsummon" , &LuaCreature::DespawnOrUnsummon },
936937 { " Respawn" , &LuaCreature::Respawn },
937938 { " AttackStart" , &LuaCreature::AttackStart },
Original file line number Diff line number Diff line change @@ -1157,6 +1157,15 @@ namespace LuaCreature
11571157 return 0 ;
11581158 }
11591159
1160+ /* *
1161+ * Handles this [Creature]'s corpse state after all loot is removed.
1162+ */
1163+ int AllLootRemovedFromCorpse (lua_State* /* L*/ , Creature* creature)
1164+ {
1165+ creature->AllLootRemovedFromCorpse ();
1166+ return 0 ;
1167+ }
1168+
11601169 /* *
11611170 * Sets the time it takes for the [Creature]'s corpse to despawn when killed.
11621171 *
You can’t perform that action at this time.
0 commit comments