Can I make world drop

LoveRPG

Member
Reaction score
6
I need to make the neutral mobs to drop things. Also I need to know if it is possible to make the drop chance of items lower then 1%?

First. I make the neutral mobs spawn. So I can not click on them and asign drop. And I have been looking for answers, unfortunatly I havent had any good luck:thdown:

Second. Is there any JASS or GUI triggers that makes it possible to lower the drop chance below 1%?? Example: Drop Chance: 0.3%.

Would appreciate answers to any of these, does not matter if you only know the answer to one of the questions. Thank you^^
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
You mean that this won't work?:

Trigger:
  • Tr1
    • Events
      • A unit dies
    • Conditions
      • ((Unit-type) of (Dying Unit)) Equal to X
    • Actions
      • Set Point1 = (Position of (Dying unit))
      • Item - Create 1 X Item at Point1
      • Custom script: call RemoveLocation (udg_Point1)


For the chance:

Trigger:
  • Tr
    • Events
      • A unit dies
    • Conditions
      • ((Unit-type) of (Dying unit)) Equal to X
    • Actions
      • If/Then/Else
        • If (Conditions)
          • (Random Integer Number between 1 and 100) Less than 1
        • Then (Actions)
          • Set Point1 = (Position of (Dying unit))
          • Item - Create 1 X at Point1
          • Custom script: call RemoveLocation (udg_Point1)
 

AgentPaper

From the depths, I come.
Reaction score
107
a random number between 1 and 100 will never be less than 1...

Instead, just look for the random number to be some random number. For example, a random number between 1 and 10000, checking to see if it's equal to exactly 2957. That'll give you a .01% chance.
 

Squll2

je'ne sais pas
Reaction score
76
Your second trigger for the chance wont work, as integer equals a whole number, such as 1, 2 ,3 and 4 etc.

You'll need to use a real to get a number such as 0.35, as a real is pretty much any number :p. Real is what we caluclate almost everything in, so it is good to get into the habit of using it.

And yeah, :p
 

LoveRPG

Member
Reaction score
6
Sorry for slow response, have been making other changes to map:) thanks for all the informations:) hope it works:)
 

kingkingyyk3

Visitor (Welcome to the Jungle, Baby!)
Reaction score
216
The 2nd post code.... Bad.
Use Trigger Unit instead of dying unit since there are faster and safer.
Location... Bad, use X and Y instead.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Happy Sunday!
    +1
  • The Helper The Helper:
    I will be out of town until Sunday evening
    +1
  • The Helper The Helper:
    I am back! Did you miss me LOL
    +1
  • jonas jonas:
    where did you go?
  • The Helper The Helper:
    Jefferson TX on a Paranormal Investigation of a haunted bed and breakfast - I got some friends that are paranormal investigators and they have an RV and do YouTubes
    +1
  • The Helper The Helper:
    It was a lot of fun. The RV was bad ass
  • jonas jonas:
    That sounds like fun!
    +1
  • The Helper The Helper:
    it was a blast!
  • The Helper The Helper:
    I am going to post the Youtube of the investigation in the forums when it is ready
    +1
  • jonas jonas:
    cool!
  • vypur85 vypur85:
    Sounds cool TH.
  • tom_mai78101 tom_mai78101:
    I was on a Legend of Zelda marathon...
  • tom_mai78101 tom_mai78101:
    Am still doing it now
    +1
  • jonas jonas:
    which one(s) are you playing?
  • jonas jonas:
    I played a little bit of the switch title two weeks ago and found it quite boring
  • The Helper The Helper:
    just got back from San Antonio this weekend had the best Buffalo Chicken Cheesesteak sandwhich in Universal City, TX - place was called Yous Guys freaking awesome! Hope everyone had a fantastic weekend!
    +1
  • The Helper The Helper:
    Happy Tuesday!
  • The Helper The Helper:
    We have been getting crazy numbers reported by the forum of people online the bots are going crazy on us I think it is AI training bots going at it at least that is what it looks like to me.
  • The Helper The Helper:
    Most legit traffic is tracked on multiple Analytics and we have Cloud Flare setup to block a ton of stuff but still there is large amount of bots that seem to escape detection and show up in the user list of the forum. I have been watching this bullshit for a year and still cannot figure it out it is drving me crazy lol.
    +1
  • Ghan Ghan:
    Beep boop
    +1
  • The Helper The Helper:
    hears robot sounds while 250 bots are on the forum lol
  • The Helper The Helper:
    Happy Saturday!
    +1
  • The Helper The Helper:
    and then it was Thursday...
    +2

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top