[Help CoEmu V2] How to change what the mobs drop?

07/04/2009 13:10 xellios#1
The title says it all i wanna learn this so i can finish up most quests
Second question : I added a npc in my mysql database (eternity) and i click on it but it wont show the text i added why's that.
07/04/2009 13:47 Xanrry#2
U can Change Monsrter Drop [Money] cq_Monster
07/04/2009 14:39 xellios#3
Quote:
Originally Posted by Yasmin* View Post
U can Change Monsrter Drop [Money] cq_Monster
I hoped that would work but it doesnt !
And i want them to drop a certain item.. not money (SoulStone : 723085)
07/04/2009 20:22 Xanrry#4
Quote:
Originally Posted by xellios View Post
I hoped that would work but it doesnt !
And i want them to drop a certain item.. not money (SoulStone : 723085)
Ye:P
07/04/2009 21:29 Incariuz#5
Well after looking at it, it's stated that the coding was based off the LOTF code for item/gold drops. In LOTF, you can set it up for specific mobs to drop specific items, method below...

Code:
                else
                {
                    if (Name == "TreasureBird")
                    {
                        if (Other.ChanceSuccess(5))
                        {
                            string Item = "1088001-0-0-0-0-0";
                            DroppedItem item = DroppedItems.DropItem(Item, (uint)(PosX - General.Rand.Next(4) + General.Rand.Next(4)), (uint)(PosY - General.Rand.Next(4) + General.Rand.Next(4)), (uint)Map, MoneyDrops);
                            World.ItemDrops(item);
                        }
                    }
                }
Not sure if it would work with the proper changes, maybe I'll test later, but maybe it'll help you. Goodluck.
07/05/2009 12:05 xellios#6
Results : failed.