Skip to content
User Avatar
#3919
Auto-translated
DevoRevo

Hello. I've already broken my head trying to figure out how SetHeroLootable and IsHeroLootable work.

I tried IsHeroLootable(“heroname”, nil)
I tried SetHeroLootable(“heroname”,nil)
SetHeroLootable(“heroname”, disable)
No matter what I do, the hero's artifacts are still being taken.

Can you tell me what I'm doing wrong?

In general, I solved this problem myself.
I wrote the following in the general code:
SetHeroLootable("Berein", nil);