Warcraft III resources & community, 2003–2006 · archived

Setting Damage Base

5 posts
#1

Setting Damage Base

How do u make it so that if a items charge is 0 the attacking unit will not be able to attacvk or setting the units damage base to zero. If this is possible and u no how plz reply
#2
Are you saying you want an ammunition system? When a unit gets the new ammunition you simply add charges to the ammunition. When you run out, check that item's ammo and see if he has any. If he doesn't, have him either treat them as an ally, or have an attack trigger make him stop
#3
Yes it is an ammo thingy but if u make them an ally they will attack neway and I cant seem to find anythingy that will let me stop them from attacking.
#4
maybe you could give the unit a buff thats like 100% chance to miss? or replace it with a unit with no attack? maybe theres a trigger that disables an attack or something... just some ideas

PS dont use order unit to stop because if u click fast enough u can get past that trigger before it runs again lol... ive tried before
#5
u can change the silence into a attack disabling ability, but its an aoe spell... so... ya