I would want to create an ability that requires 25 minerals and 1 Magic Stone, which is an item in the game. But I don't know how to make it so that the ability displays that it requires 1 Magic Stone to cast, can't be cast without atleast 1 Magic Stone and consumes 1 Magic Stone upon casting the ability. Any ideas on how this could be made? Maybe it is in triggers.
I would want to create an ability that requires 25 minerals and 1 Magic Stone, which is an item in the game. But I don't know how to make it so that the ability displays that it requires 1 Magic Stone to cast, can't be cast without atleast 1 Magic Stone and consumes 1 Magic Stone upon casting the ability. Any ideas on how this could be made? Maybe it is in triggers.
You would need a trigger based system that adds/removes a buff from the unit when the conditions are met and removes the items on cast.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg