Hello,
in the fightclass editor, in "Additionnal C# code" (top left) put this code:
static Main()
{
bool lastState = false;
while (Conditions.ProductIsStarted)
{
if (Conditions.InGameAndConnectedAndProductStartedNotInPause &&
!Conditions.IsAttackedAndCannotIgnore)
{
if (lastState && !ObjectManager.Me.IsDeadMe)
{
Logging.WriteDebug("Retrieve corpse, ReloadUI");
Lua.LuaDoString("ReloadUI()");
}
lastState = ObjectManager.Me.IsDeadMe;
}
Thread.Sleep(100);
}
}