Closed Eniotnacram closed 3 weeks ago
Hello,
I modified the BaseMonsterCharacterEntity "Killed" function To notify the player when an Item is looted when the looting is set to Immediate.
Because the Function didin't call "OnRewardItem" so the Item was not notified.
Those are my changes only for Line 490:
looterEntity.IncreaseItems(_droppingItems[i], characterItem => looterEntity.OnRewardItem(RewardGivenType.KillMonster, characterItem));
I added this: "=> looterEntity.OnRewardItem(RewardGivenType.KillMonster, characterItem));"
Applied, thank you
Hello,
I modified the BaseMonsterCharacterEntity "Killed" function To notify the player when an Item is looted when the looting is set to Immediate.
Because the Function didin't call "OnRewardItem" so the Item was not notified.
Those are my changes only for Line 490:
looterEntity.IncreaseItems(_droppingItems[i], characterItem => looterEntity.OnRewardItem(RewardGivenType.KillMonster, characterItem));
I added this: "=> looterEntity.OnRewardItem(RewardGivenType.KillMonster, characterItem));"