Page 1 of 1

Code Question: When Are Drops "Created"

Posted: Sun May 03, 2015 9:53 pm
by solsukut
Are drops created when a mob spawns, or when you kill them?

I remember noticing a few times during blitz-bee grinding that I went over 200kills with no sting (based on xp gained), and figured over the course of getting 2 sets of boots, I know I averaged something closer to 150 per stinger.
Now I'm grinding against Huntress for a swamp bow, and a couple times was swarmed and had to clear by running off map. That got me thinking.......If drops are created when the Mob spawns, then I could basically be clearing the successful "1/1000" random every time you flee a swarm.

Re: Code Question: When Are Drops "Created"

Posted: Mon May 04, 2015 2:21 pm
by Gandalf
when you kill the monster. so you can save/reload in the offline version to save time :P

Re: Code Question: When Are Drops "Created"

Posted: Tue May 05, 2015 8:31 am
by Bunzi
Correct me if I'm wrong, but your 1/1000 chance is not a static, linear figure. It resets after every kill. You have that chance every single time you kill the monster. You could get the drop on your first kill. You could just as easily get it on your 500th, 1000th, or go 2000 before getting the drop. If you kill in the tens of thousands, you would begin to see the average come into play, but not when you are only killing a few thousand. So running off the map wouldn't hurt your chances of getting a drop.

Re: Code Question: When Are Drops "Created"

Posted: Tue May 05, 2015 12:21 pm
by blitzcraig
you are not wrong... this is exactly correct ;)

Re: Code Question: When Are Drops "Created"

Posted: Tue May 05, 2015 11:33 pm
by solsukut
blitzcraig wrote:you are not wrong... this is exactly correct ;)
I assumed the random gen was like this, just didn't know when it was applied. years ago I was a mod on the MUD "Aalynors Nexus", and drops filled when the encounter was created, but much different format

That was required because we also had Rogue class and they could peek (to see if mob had a drop), and pick-pocket to try stealing it. It sounded great....but was a high risk move, since failure = Mob_Crit Attack, which could kill outright.

Re: Code Question: When Are Drops "Created"

Posted: Tue May 05, 2015 11:44 pm
by Gandalf
we will increase drop chances in offline game soon. same we did with crafting chance already. no need to wait hours maybe :P but not so soon, in summer bigger reviewing of the rpg game.

Re: Code Question: When Are Drops "Created"

Posted: Tue May 05, 2015 11:54 pm
by solsukut
Gandalf wrote:we will increase drop chances in offline game soon. same we did with crafting chance already. no need to wait hours maybe :P but not so soon, in summer bigger reviewing of the rpg game.
Sweet! ....of course I'll probably get a Swamp or Diamond Bow by pulling an all-nighter the day before that update is released.

Re: Code Question: When Are Drops "Created"

Posted: Wed May 06, 2015 7:01 pm
by shahm
Gandalf wrote:we will increase drop chances in offline game soon. same we did with crafting chance already. no need to wait hours maybe :P but not so soon, in summer bigger reviewing of the rpg game.
thanx gandalf....