- Joined
- Feb 2, 2006
- Messages
- 1,592
Hi,
I have multiple custom spells which should spawn random items but no item is created:
This is the code converted from a GUI trigger.
Why is not item created? There should be at least one random item type with level 1 right?
It does not work for other levels either.
I have disabled "Include into Random Choice" for some item types but not all and not too many.
I have multiple custom spells which should spawn random items but no item is created:
JASS:
call UnitAddItemByIdSwapped( ChooseRandomItemBJ(1), GetTriggerUnit() )
This is the code converted from a GUI trigger.
Why is not item created? There should be at least one random item type with level 1 right?
It does not work for other levels either.
I have disabled "Include into Random Choice" for some item types but not all and not too many.