Help drop item????

10/22/2008 03:33 shinichi79#1
How does that pair of shoes for the fall when monter killed?
10/22/2008 03:58 demonscim#2
Umm what?
10/22/2008 04:19 kinshi88#3
Umm.. lol

Do you mean; How mobs drop Items? Like, how its coded?
If so, look into Entities.cs
10/22/2008 04:20 demonscim#4
Lol.. maybe I got lost at pair of shoes :s.. are we talking about conquer here :D.
10/22/2008 05:41 kinshi88#5
Quote:
Originally Posted by demonscim View Post
Lol.. maybe I got lost at pair of shoes :s.. are we talking about conquer here :D.
Haha, I think we're talking about Conquer, but still... maybe in RL he dropped a shoe or something...? =P
10/22/2008 06:48 AIOROSZ#6
how i can take the control the drop of the met or some other item? :mofo:
sorry for my bad english
10/22/2008 06:55 kinshi88#7
Quote:
Originally Posted by AIOROSZ View Post
how i can take the control the drop of the met or some other item? :mofo:
sorry for my bad english
Ah, yes.

In Entities.cs search for public bool GetDamage(uint Damage)

Scroll down a bit and you will see stuff like:
Code:
                        if ((Other.ChanceSuccess(0.05) || (BossMob && Other.ChanceSuccess(20)))
                        {
                            string Item = "1088000-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);
                        }
10/22/2008 07:18 AIOROSZ#8
grax man xD now understad XD
10/22/2008 08:14 AIOROSZ#9
a sorry i have other question
Code:
for (int i = 0; i < Repeat; i++)
                        {
                            string Item = "1088001-0-0-0-0-0";
                            if (Other.ChanceSuccess(5) || BossMob)
                                Item = "1088000-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);
                        }
i have this but,which is the valor i should change?
10/22/2008 13:25 Rechocto#10
AIO

stop. lern2coding first. after you learn to code, then try again.

Also, type your post properly in your own language in [Only registered and activated users can see links. Click Here To Register...] and translate it to English and post that. it will make a lost more sense than you. I don't mean that as an insult, I'm just being honest.