Google-Code-Fork / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 0 forks source link

IsCorpse Flag not working properly #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Requesting IsCorpse flag from items (dat reading) is not returning expected
value.
Eg.:
// 3994 = id for a rat corpse
Tibia.Objects.Item i = new Tibia.Objects.Item(Core.Client, 3994);         
 i.GetFlag(Tibia.Addresses.DatItem.Flag.IsCorpse; // false

Happens with lots of corpses, don't know if it's just with me, somebody
check it out please.

Original issue reported on code.google.com by mega...@gmail.com on 2 Sep 2009 at 7:08

GoogleCodeExporter commented 9 years ago

Original comment by mega...@gmail.com on 5 Sep 2009 at 6:58

GoogleCodeExporter commented 9 years ago
Corpses only have the IsCorpse flag set to true during the time that only the 
killer 
can open it.

Original comment by geancarl...@gmail.com on 6 Sep 2009 at 1:18

GoogleCodeExporter commented 9 years ago
This is probably a stupid question, and the answer is probably what I think it 
is but
I'll ask anyway. Does it return true only to the killer or to everyone? (I'm 
guessing
everyone).

Original comment by joebingham07@gmail.com on 6 Sep 2009 at 9:41