Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Random Item Drop

Discussion in 'World Editor Help Zone' started by teves, Jul 1, 2016.

Tags:
  1. teves

    teves

    Joined:
    Jun 16, 2016
    Messages:
    18
    Resources:
    0
    Resources:
    0
    Hello There,
    i know it will be little hard to be fully explained but i need someone who can give me steps for creating random item drop when killing a boss? need more details?
    alright, i have an orpg map now i want to 1st Boss Gets killed , the units in the dungeon area get moved to another area and each player who was in the dungeon area get one random item, there will be so rare items, and there will be easy item
    i know its not going to be easy,
    and ofc i wont forget the +rep :)
     
    Last edited: Jul 13, 2016
  2. IcemanBo

    IcemanBo

    Joined:
    Sep 6, 2013
    Messages:
    6,537
    Resources:
    23
    Maps:
    3
    Spells:
    11
    Template:
    1
    Tutorials:
    5
    JASS:
    3
    Resources:
    23
    You can use random numbers -- for example you make a random number between 1 and 10. When the number equals or is higher than 8 you can create a good item, else a low item.
    You can make this for each player in dungeon.
     
  3. Alright

    Alright

    Joined:
    May 20, 2014
    Messages:
    230
    Resources:
    0
    Resources:
    0
    An unit dies, conditions equal to boss, pick every player's hero in boss region and move them to their designated spots, then spawn an item (Iceman's post is a good way to randomize a chance for players to get better gear).