Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 12-06-2005, 10:45 PM   #1 (permalink)
Dream Sage
 
joshw's Avatar
 
Join Date: Jul 2003
Location: Great Northern Wisconsin
Posts: 841
Default Adding Luck to Golden Vet Cloaks and Robes

Ever wished that the Golden vet robes and cloaks had luck on them for being golden well here is the way to do that

in outertorso.cs look for this code

Code:
[Constructable]
		public RewardRobe( int hue, int labelNumber ) : base( 0x1F03, hue )
		{
			Weight = 3.0;
			LootType = LootType.Blessed;
			
			m_LabelNumber = labelNumber;
		}
and chane to

Code:
[Constructable]
		public RewardRobe( int hue, int labelNumber ) : base( 0x1F03, hue )
		{
			Weight = 3.0;
			LootType = LootType.Blessed;
			
			m_LabelNumber = labelNumber;

			if ( hue == 0x8A5)
			{
				Attributes.Luck = 40;
			}
		}
same applys for the vet cloak go into cloaks.cs and do same changes to the vet cloak and there you have it luck on golden vet robes and cloaks
__________________
To walk among the few of understanding
Admin of Geia Adventures A dead Shard no longer in existsance
joshw is offline  
Old 12-15-2005, 05:58 PM   #2 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 80
Default

HTML Code:
public RewardRobe( int hue, int labelNumber ) : base( 0x1F03, hue )
		{
			Weight = 3.0;
			LootType = LootType.Blessed;
			Attributes.Luck = 40;
			m_LabelNumber = labelNumber;
    			Hue = 0x8A5;
			
			
				
			
		}

it can actually be like this witout the extra {}
MatrixMan is offline  
Old 12-16-2005, 11:39 AM   #3 (permalink)
 
Join Date: May 2005
Location: Maine
Posts: 783
Default

Yeah, but then ALL reward cloaks will have luck, not just the gold ones!!!
So joshw had it right
Arvoreen is offline  
 

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 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5