Website UCP reworked & GWD weekend! (7 May 2015)

All of PkHonor's news will be posted here.
User avatar
Kylo ren
Honor Player
Posts: 5898
Joined: Fri Feb 07, 2014 4:37 am
Location: In a Galaxy, Far, Far Away

Re: Website UCP reworked & GWD weekend! (7 May 2015)

Post by Kylo ren » Thu May 07, 2015 10:59 pm

Slashy wrote:Yay so I don't have anything to do anymore! Hype!
Lmfao! You still have Refunds, my young padawan.
Image

User avatar
Nolan
Honor Player
Posts: 3462
Joined: Mon Jun 10, 2013 2:56 am
Location: USA

Re: Website UCP reworked & GWD weekend! (7 May 2015)

Post by Nolan » Thu May 07, 2015 11:08 pm

Rikka wrote:To be clear, is the 20% additive or multiplicative? I assume multiplicative but just making sure.
I didn't code it so I can't answer that 100%, but I would assume like anything else it would be multiplicative.

Although multiplication is just an advanced form of addition, so both I guess. :doge:
Image

User avatar
Rawr
Premium Donator
Posts: 13370
Joined: Sat Apr 13, 2013 5:23 pm

Re: Website UCP reworked & GWD weekend! (7 May 2015)

Post by Rawr » Thu May 07, 2015 11:45 pm

Nolan wrote:
Rikka wrote:To be clear, is the 20% additive or multiplicative? I assume multiplicative but just making sure.
I didn't code it so I can't answer that 100%, but I would assume like anything else it would be multiplicative.

Although multiplication is just an advanced form of addition, so both I guess. :doge:
If it was additive then you'd be nearly guaranteed a drop from Nex every kill.
Image

User avatar
Mike
Programmer
Posts: 6346
Joined: Sun Nov 01, 2009 8:00 pm
Location: PkHonor HQ

Re: Website UCP reworked & GWD weekend! (7 May 2015)

Post by Mike » Fri May 08, 2015 12:35 am

Rikka wrote:To be clear, is the 20% additive or multiplicative? I assume multiplicative but just making sure.
Multiplicative, but there's more to it than that.


Droprates work as follows:

For any NPC, there's a list of items that can be dropped (some items can be dropped twice but with different amounts, such as coins). For every entry in this list, there's a certain chance (out of 1000) that it will be dropped on kill. For example, a very rare drop may have a drop chance of 10 (so 10/1000 or 1%).

Whenever the NPC is killed, the server goes over every single entry in the droptable for that NPC and generates a random number between 1 and 1000 (including those 2 numbers). If this number is smaller or equal to the drop chance, the item is dropped with the appropriate amount. In theory, you could kill an NPC and have 10 different items drop in one kill (although this happens very rarely).

If you're wearing a ring of wealth (or have an ex-ex-parrot following you or have one in your inventory), this drop chance is increased by 12%, meaning a 1% drop chance will increase to a 1.12% drop chance, or a 11.2/1000 chance (this is rounded down and becomes 11/1000 or 1.1%).
If there's an event going on, then the drop chances for the NPC('s) involved in the event increase by 20%, so an item with a 1% drop chance now has 1.2% drop chance (12/1000).
If there's an event going on and you wear a RoW/parrot, the drop chance is increased by 20% + 12% = 34%, then a 1% chance becomes a 1.34% chance (13/1000).

The highest extra drop chance anyone could get is during an event, with a RoW/parrot, wearing a whip of fortune and using its spec on the NPC once = 20% + 12% + 14% + 1% = 47%, so a very rare drop of 1% becomes 1.47% or 14/1000. An item with 1.5% chance then becomes 2.205% (or 22/1000) etc.

I hope that clears it up :P (and isn't too confusing)

User avatar
Kalista
Honor Player
Posts: 6547
Joined: Thu Apr 11, 2013 11:53 pm
Location: Fishers, Indiana

Re: Website UCP reworked & GWD weekend! (7 May 2015)

Post by Kalista » Fri May 08, 2015 12:44 am

Yeah that does clear it up, thanks :)
Image

User avatar
Azu rite
Premium Donator
Posts: 17604
Joined: Wed Apr 10, 2013 1:42 am
Location: Over there in that one place

Re: Website UCP reworked & GWD weekend! (7 May 2015)

Post by Azu rite » Fri May 08, 2015 12:47 am

Mike wrote:
Rikka wrote:To be clear, is the 20% additive or multiplicative? I assume multiplicative but just making sure.
Multiplicative, but there's more to it than that.


Droprates work as follows:

For any NPC, there's a list of items that can be dropped (some items can be dropped twice but with different amounts, such as coins). For every entry in this list, there's a certain chance (out of 1000) that it will be dropped on kill. For example, a very rare drop may have a drop chance of 10 (so 10/1000 or 1%).

Whenever the NPC is killed, the server goes over every single entry in the droptable for that NPC and generates a random number between 1 and 1000 (including those 2 numbers). If this number is smaller or equal to the drop chance, the item is dropped with the appropriate amount. In theory, you could kill an NPC and have 10 different items drop in one kill (although this happens very rarely).

If you're wearing a ring of wealth (or have an ex-ex-parrot following you or have one in your inventory), this drop chance is increased by 12%, meaning a 1% drop chance will increase to a 1.12% drop chance, or a 11.2/1000 chance (this is rounded down and becomes 11/1000 or 1.1%).
If there's an event going on, then the drop chances for the NPC('s) involved in the event increase by 20%, so an item with a 1% drop chance now has 1.2% drop chance (12/1000).
If there's an event going on and you wear a RoW/parrot, the drop chance is increased by 20% + 12% = 34%, then a 1% chance becomes a 1.34% chance (13/1000).

The highest extra drop chance anyone could get is during an event, with a RoW/parrot, wearing a whip of fortune and using its spec on the NPC once = 20% + 12% + 14% + 1% = 47%, so a very rare drop of 1% becomes 1.47% or 14/1000. An item with 1.5% chance then becomes 2.205% (or 22/1000) etc.

I hope that clears it up :P (and isn't too confusing)
So theoretically someone could get every ultra rare nex loot
Image

User avatar
Swaggit
Honor Player
Posts: 3338
Joined: Sat Oct 26, 2013 8:43 pm

Re: Website UCP reworked & GWD weekend! (7 May 2015)

Post by Swaggit » Fri May 08, 2015 1:18 am

:thumbsup: :thumbsup:
Image

Simon
Honor Player
Posts: 5836
Joined: Thu Apr 11, 2013 12:03 am

Re: Website UCP reworked & GWD weekend! (7 May 2015)

Post by Simon » Fri May 08, 2015 1:57 am

Holy shit, this is amazing!

Great job Rapsey...!
Image

User avatar
Mike
Programmer
Posts: 6346
Joined: Sun Nov 01, 2009 8:00 pm
Location: PkHonor HQ

Re: Website UCP reworked & GWD weekend! (7 May 2015)

Post by Mike » Fri May 08, 2015 2:19 am

Azu rite wrote:So theoretically someone could get every ultra rare nex loot
Yup, maybe about once every 1,000,000,000,000,000,000 kills?

Give or take a few zeroes.

User avatar
Amount
Premium Donator
Posts: 4208
Joined: Mon Aug 11, 2014 5:13 pm
Location: Australia

Re: Website UCP reworked & GWD weekend! (7 May 2015)

Post by Amount » Fri May 08, 2015 2:36 am

Lovely work as always, Rapsey.

Locked