Go Back   RunUO - Ultima Online Emulation > RunUO > New Join Forum

New Join Forum So your new to RunUO and looking to work with people that are new, this is the place.

Reply
 
Thread Tools Display Modes
Old 12-26-2006, 02:26 PM   #1 (permalink)
Forum Newbie
 
Join Date: Dec 2006
Posts: 5
Default Could anyone be so kind as to explain this please?

Code:
public static readonly LootPack OldFilthyRich = new LootPack( new LootPackEntry[]
			{
				new LootPackEntry(  true, Gold,			100.00, "2d125+400" ),
				new LootPackEntry(  true, Instruments,	  2.00, 1 ),
				new LootPackEntry(  true, OldMagicItems, 33.00, 1, 1, 50, 100 ),
				new LootPackEntry(  true, OldMagicItems, 33.00, 1, 1, 60, 100 ),
				new LootPackEntry(  true, OldMagicItems, 20.00, 1, 1, 70, 100 ),
				new LootPackEntry(  true, OldMagicItems,  5.00, 1, 1, 80, 100 )
			} );
new LootPackEntry( true, OldMagicItems, 33.00, 1, 1, 60, 100 ),
In this line, what does the 33.00, 1, 1, 60, 100 each mean?

My husband would like to have randomized weapons and armor dropping off of all kinds of monsters...you know...random enchantments and augments as well as random elemental damage. The only creatures I have found with loot similar to this in my mobiles is the ShadowWrym. So I am trying to divine exact what is producing the randomized attributes and bonuses on the weapons. I don't want to just copy the ShadowWyrm loot, as I want it to scale. I just want loot to actually drop. Right now quite a few critters only drop gold.

Thanks ahead of time, oh and I hope you all are having a great Holiday season.

Lady Ultima
LadyUltima is offline   Reply With Quote
Old 12-27-2006, 08:50 AM   #2 (permalink)
Forum Expert
 
Shadow1980's Avatar
 
Join Date: Mar 2005
Location: York, UK
Age: 28
Posts: 708
Default

Quote:
Originally Posted by LadyUltima View Post
Code:
public static readonly LootPack OldFilthyRich = new LootPack( new LootPackEntry[]
			{
				new LootPackEntry(  true, Gold,			100.00, "2d125+400" ),
				new LootPackEntry(  true, Instruments,	  2.00, 1 ),
				new LootPackEntry(  true, OldMagicItems, 33.00, 1, 1, 50, 100 ),
				new LootPackEntry(  true, OldMagicItems, 33.00, 1, 1, 60, 100 ),
				new LootPackEntry(  true, OldMagicItems, 20.00, 1, 1, 70, 100 ),
				new LootPackEntry(  true, OldMagicItems,  5.00, 1, 1, 80, 100 )
			} );
new LootPackEntry( true, OldMagicItems, 33.00, 1, 1, 60, 100 ),
In this line, what does the 33.00, 1, 1, 60, 100 each mean?
Somebody please correct me if I am wrong as I haven't coded for RunUO in quite some time, but I am pretty sure of the following:
(Using the line you gave as example, and going in order from left to right)
33.0 - chance in percent to have this item spawning
1 - minimal # of properties
1 - maximum # of properties
60 - minimal property intensity
100 - maximum property intensity
__________________
Shadow1980
Game Reviews, Jokes and Rants from real People
Shadow1980 is offline   Reply With Quote
Old 12-27-2006, 05:11 PM   #3 (permalink)
Forum Expert
 
mordero's Avatar
 
Join Date: Nov 2003
Location: Illinois, USA
Age: 22
Posts: 2,911
Default

33.0 - chance in percent to have this item spawning
1 - Quantity <----
1 - maximum # of properties
60 - minimal property intensity
100 - maximum property intensity
mordero is offline   Reply With Quote
Old 12-29-2006, 10:15 PM   #4 (permalink)
Forum Newbie
 
Join Date: Dec 2006
Posts: 5
Default Thank you

Sorry for it taking me some time to get back to ya'll. Christmas and all

I appriciate the assistance. And I hope you and yours have a nice holiday.

Lady Ultima
LadyUltima is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5