Thread: Booster
View Single Post
Old 08-21-2004, 10:37 AM   #6 (permalink)
ArteGordon
Master of the Internet
 
Join Date: Aug 2003
Posts: 5,688
Default

Quote:
Originally Posted by airwalk
I have change the rich, and doesn't work please help me to add many magical item to ogre lord loot. Like many monay, and aleatory magical item .. !
why do you say that it doesnt work? If you increase the loottype from Rich to FilthyRich or UltraRich it will improve the drops. It wont improve every drop, since it still has a random factor, but on average the drops will be better. If you want every drop to have more items, you can add items directly to the mobs pack by looking in OgreLord.cs and seeing where it calls PackItem, and then adding your own PackItem call with the items that you want to drop.
If you want more gold, then pack more gold with

PackItem( new Gold(2000) );

and now all of your ogre lords will drop an additional 2000 gp.

if you want to add random magic armor or weapons call

PackArmor(minlevel, maxlevel, chance);

or

PackWeapon(minlevel, maxlevel, chance);

where minlevel and maxlevel are numbers between 0 and 5, and chance is the probability of dropping (like 0.5 for a 50% chance).

look in BaseCreature.cs for more calls like this.
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. "

For questions, information, and support for XmlSpawner and its addons, visit the
XmlSpawner Support Forum
ArteGordon is offline   Reply With Quote