Using items as dummy casters

I hear there is a memory pointer/reference flaw with items so every new item leaks literally and can only be cleaned by a custom client, but nobody has noticed this flaw in over two decades so should be fine, just don't forget to remove tomes/auto-powerups upon pickup.

So this is a neat method but most likely has too many flaws to be used, still useful for negative flying height but another flaw is the unit has to wait to finish its last order before working on a new order.

Edit: Forgot to mention, but you can level item abilities and also why some abilities are infamous for breaking like reincarnation in some save/load maps when an item has the same ability as your character internally. Because items and buffs actually directly add themselves as abilities to the unit, you can also use remove ability to speed up buff removal for specific ones, like getting immolation to stack by removing its buff during a damage event. Seems to lag in reforged for immolation's case but maybe with buff stacking internally there it works without needing this?
 

Attachments

  • DummyItem.w3x
    9.2 KB · Views: 8
Last edited:
Level 24
Joined
Feb 27, 2019
Messages
833
This method can be used to apply buffs that cant be gotten from dummy casters such as vampiric potion though a BIG flaw with it is that hexed/polymorphed, paused, illusions and doomed units cant use items so the item just ends up on the floor.

I found a different use for this method to display error messages. If a unit cant use the on-use item it recieves, an error message is displayed. Default Error Messages alpha
 
Top