• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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 13
Joined
Nov 4, 2006
Messages
1,239
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