Quote:
Originally Posted by AnyChat
First you need a Grade:
Code:
UPDATE [PS_GameDefs].[dbo].[Items]
SET Grade= '16'
WHERE ItemID= '100010'
( 16 is the new Grade... 100010 is KO-Noss and now in Grade 16)
Now you set the new Grade in a mob:
Code:
UPDATE [PS_GameDefs].[dbo].[MobItems]
SET Grade= '16'
WHERE MobID= '1899'
Last you must set the Droprate:
Code:
UPDATE [PS_GameDefs].[dbo].[MobItems]
SET DropRate= '10'
WHERE MobID= '1899'
this is only one way to do that. there are certainly better ways
|
So let me get it right, you first set an item in a Grade. Can that grade just be a random number?
And if I want to let a mob drop more then 1 item, I just get all those items I want the mob(s) to drop into for example Grade 16?
And, do I make a new query for it? Or do I just edit an already excisting one?
Really thanks for the help!
Quote:
Originally Posted by JohnHeatz
Taking AnyChat's explanation you should get it all done by:
- 1- Item's Grade into a MobID
2-Drop Rate for the Item
3- Remember that you need the ItemOrder of the item, as every mo can drop different items at the same time
So it has to be something like:
Code:
Update PS_GameDefs.dbo.MobItems
set Grade = [Grade], DropRate = [%] where MobID = [Mob] and ItemOrder = [between 1 and 9]
|
That ItemOrder, is that something that already excists, or just like a random number between 1-9 and that it will drop in an order(for example, ItemOrder 1 will drop faster then ItemOrder9)?
Thanks Alot!