Go Back   RunUO - Ultima Online Emulation > RunUO > FAQ Forum

FAQ Forum A place to find answers to the most frequently asked questions, and a place to post said answers. Do NOT use this forum to ask questions.

Reply
 
Thread Tools Display Modes
Old 06-12-2006, 10:42 AM   #1 (permalink)
Account Terminated
 
Join Date: Jun 2006
Location: 2 inches in front of the screen
Age: 16
Posts: 232
Send a message via AIM to drakeypooh1 Send a message via MSN to drakeypooh1 Send a message via Yahoo to drakeypooh1
Default Champion Token Loot

You know how when you kill a champion it sprays gold all over? Well, some people use tokens on their shard and would rather have the champions drop tokens rather than gold.

It is actually a very simple change to make, and the amount can be customized as well.

1. Open RunUO/Scripts/Mobiles/Special/BaseChampion.cs.

2. FIND: Gold g = new Gold( 500, 1000 );

3. CHANGE TO: Tokens g = new Tokens( custom amount );
NOTE: Replace custom amount with the amount you want to be in each pile of tokens. Note that if you put two numbers with commas in between them, it would add them together for the max amount. Let's say we used 50, 100. The max would be 150, and the minimum would be 50. If you want it to just be one amount, then just put one number, without any commas, like this:
Tokens g = new Tokens( 10 );
Also bear in mind that we keep the nickname (g) the same so that we won't have to change all the lines that come after that.

4. Save/close BaseChampion.cs
OPTIONAL: You can also make the harrower drop tokens instead of gold, as his gold drop is different. If you don't want to do this, skip ahead to step 9.

5. Open RunUO/Scripts/Mobiles/Special/Harrower.cs

6. FIND: Gold g = new Gold( 750, 1250 );

7. CHANGE TO: Tokens g = new Tokens( custom amount );

8. Save/close Harrower.cs.

9. You're done! Restart your server!
drakeypooh1 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