View Single Post
Old 07-04-2008, 01:58 AM   #4 (permalink)
Soteric
Forum Expert
 
Soteric's Avatar
 
Join Date: Aug 2006
Location: Russia, Rostov-on-Don
Posts: 1,674
Send a message via ICQ to Soteric
Default

Look at method public virtual bool Rummage() in BaseCreature class. It calls when monster decide to loot anyone corpse. Try to understand how it works: how monster find a corpse, how it choose what to loot. Line by line, until the whole method would be clear for you. After that try to make changes and see the effect. If you completely can't understand how this method works (it's very simple method though), then you should learn some more about C# first: classes, fields, properties, methods call, arrays basic.
Soteric is offline   Reply With Quote