• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Class Only Item

Status
Not open for further replies.
Level 1
Joined
Feb 20, 2015
Messages
4
Hey guys I made an item staff for necromancer and I got necromancer hero but I want that item only be pickable by Necromancer hero and when the other type of heroes pick that item it will drop it on the ground but I cant do it and I need help can someone write me that trigger ? Thank you.
 
Level 12
Joined
Mar 24, 2011
Messages
1,082
That actualy is very simple...

  • StaffOfNecromancy
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Staff Of Necromancy
      • (Unit-type of (Triggering unit)) Not equal to Necromancer
    • Actions
      • Hero - Drop (Item being manipulated) from (Triggering unit)
 
Level 1
Joined
Feb 20, 2015
Messages
4
That actualy is very simple...

  • StaffOfNecromancy
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Staff Of Necromancy
      • (Unit-type of (Triggering unit)) Not equal to Necromancer
    • Actions
      • Hero - Drop (Item being manipulated) from (Triggering unit)

Oh Mate i made a mistake but i already done it yeah its working thanks for your answer mate +rep
 
Status
Not open for further replies.
Top