Moderator
M
Moderator
12th Dec 2015
IcemanBo: Too long as NeedsFix. Rejected.
19:53, 30th Jun 2013
Magtheridon96:
Spell Submission Rules
Comments
IcemanBo: Too long as NeedsFix. Rejected.
19:53, 30th Jun 2013
Magtheridon96:
Spell Submission Rules
Comments
- You have 2 location leaks in the Drop Corpse trigger.
- (Selling unit) can be replaced with (Triggering unit).
- It would be better to make the constants like the item types and the unit types in this system configurable via a trigger that runs on map initialization so users only have to refer to one trigger to configure this system properly.
- The condition of the Drop Corpse function could be cleaned up so that you're only checking if the type of the item being manipulated is equal to a constant item type.
- In the Bury Corpse function, you could store (Buying unit) into a variable at the top BEFORE the wait, and then set that variable again directly AFTER the wait so you can use that variable to represent the buying unit throughout the whole trigger.
- You have an unused variable in the map.