- Joined
- Jul 19, 2007
- Messages
- 855
Ok so I have alot of items in my map that I don't want some heroes to be able to carry. For example I want "Staff of Dark Might" to only be able to be carried by Intelligence heroes. But the triggers I use for it doesn't seems to be good enough because if you spam-click the item alot of times, the item wont be dropped and can be carried by the hero which usually should not be able to carry that item... So is there any good item drop system I could use to make it impossible for heroes that is NOT Intelligence heroes to carry that item?
My current triggers that I did not create by myself.
My current triggers that I did not create by myself.
-
Staff of Dark Might only for Intelligence Heroes
-
Events
-
Unit - Aragorn (melee) 0229 <gen> Acquires an item
-
Unit - Faramir 0232 <gen> Acquires an item
-
Unit - Boromir 0230 <gen> Acquires an item
-
Unit - Legolas Greenleaf (ranged) 0233 <gen> Acquires an item
-
Unit - Frodo Baggins 0231 <gen> Acquires an item
-
Unit - Gimli 0234 <gen> Acquires an item
-
Unit - Haldir 0248 <gen> Acquires an item
-
Unit - Théoden 0237 <gen> Acquires an item
-
Unit - Treebeard 0008 <gen> Acquires an item
-
Unit - Haradrim Huntress 0263 <gen> Acquires an item
-
Unit - Er-Murâzor 0260 <gen> Acquires an item
-
Unit - Lurtz (ranged) 0051 <gen> Acquires an item
-
Unit - Grishnákh 0258 <gen> Acquires an item
-
Unit - Ugluk 0257 <gen> Acquires an item
-
Unit - Slave of the One Ring 0255 <gen> Acquires an item
-
Unit - Ancient Balrog 0254 <gen> Acquires an item
-
Unit - Mollok 0148 <gen> Acquires an item
-
Unit - Child of the Ungoliant 0149 <gen> Acquires an item
-
Unit - Dark Lord 0299 <gen> Acquires an item
-
Unit - Carycyn of Far Harad 0162 <gen> Acquires an item
-
Unit - Eomer 0296 <gen> Acquires an item
-
Unit - Eowyn 0261 <gen> Acquires an item
-
Unit - Glorfindel the Golden 0307 <gen> Acquires an item
-
Unit - Gwaer of Rhûn 0306 <gen> Acquires an item
-
Unit - Erkenbrand 0379 <gen> Acquires an item
-
Unit - Lieutenant of Morgul 0375 <gen> Acquires an item
-
Unit - Owynvan of the Corsairs 0376 <gen> Acquires an item
-
Unit - Sharkû 0389 <gen> Acquires an item
-
Unit - Suladân 0390 <gen> Acquires an item
-
Unit - Arwen 0385 <gen> Acquires an item
-
Unit - Beregond 0386 <gen> Acquires an item
-
Unit - The Oathbreaker 0394 <gen> Acquires an item
-
Unit - Troll Chieftain 0397 <gen> Acquires an item
-
Unit - Mouth of Sauron 0402 <gen> Acquires an item
-
Unit - Imrahil 0406 <gen> Acquires an item
-
Unit - Duinhir 0407 <gen> Acquires an item
-
-
Conditions
-
(Item-type of (Item being manipulated)) Equal to |c00ff8040Staff of Dark Might|r
-
-
Actions
-
Item - Remove (Item being manipulated)
-
Player - Set (Owner of (Triggering unit)).Current gold to (((Owner of (Triggering unit)) Current gold) + 3450)
-
Game - Display to (Player group((Owner of (Triggering unit)))) the text: |cffffcc00Your Hero...
-
-
-
Staff of Dark Might drop
-
Events
-
Unit - A unit Loses an item
-
-
Conditions
-
(Item-type of (Item being manipulated)) Equal to |c00ff8040Staff of Dark Might|r
-
-
Actions
-
Set VariableSet staffofdarkmight[(Player number of (Triggering player))] = 0
-
-