• 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.

RPG Level requirement for certain item

Status
Not open for further replies.
Level 1
Joined
May 7, 2016
Messages
4
Hi guys,
I want to create level requirement for certain items, for example epic items - minimum 25 level, legendary items - min 50 level, artifact - min 80 level. How to GUI this?
Thanks for help
 
Level 14
Joined
Nov 4, 2006
Messages
1,241
might need some more information, are you talking only for picking up items? also item drops? items sold?

how many categories do you want to have?

the most basic to just prevent pickup would be something like this
(put all items of one category into the "Or" Conditions)

  • item drop
    • Events
      • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • And - All (Conditions) are true
            • Conditions
              • (Hero level of (Triggering unit)) Less than or equal to 20
              • Or - Any (Conditions) are true
                • Conditions
                  • (Item-type of (Item being manipulated)) Equal to Claws of Attack +10
                  • (Item-type of (Item being manipulated)) Equal to Claws of Attack +20
                  • (Item-type of (Item being manipulated)) Equal to Claws of Attack +30
        • Then - Actions
          • Unit - Order (Triggering unit) to drop (Item being manipulated) at (Position of (Triggering unit))
        • Else - Actions
 
Status
Not open for further replies.
Top