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 06-04-2005, 05:46 AM   #1 (permalink)
 
Join Date: Jul 2004
Age: 34
Posts: 191
Default Accumulative PowerScroll

This is somewhat taken from a concept that was submitted by steamin for his/her accumulative statcapscroll. However, this is for an accumulative powerscroll.

The powerscrolls are in values of +5, +10, +15, and +20. It will simply add to the value to the current skill CAP (not the actual skill). It will add it up to the skill cap value that you currently use on your shard (some use 140 each skill, etc). Can also allow players to get 4 +5's (or other combinations) of a PS for a certain skill to reach their 120 skill cap, instead of waiting for that 120 PS.

Also can negate the need to customize current powerscroll script to value 140 or whatever to let your players get their max possible caps.

STEP 1. MODIFY YOUR SHARD SKILL CAP

Anyway, you may need to modify line 230 in the script to fit your skill cap level. The line currently reads for 120 skill caps, as follows.....

Code:
if ( skill.Cap + m_Value > 120 )
Just change that 120 to whatever your shard's skill cap values are set at (140, 150, whatever). It will only allow them to reach a skill cap to this number. (They can't use a +10 or higher if they're only 5 points away, etc).

STEP 2. MODIFY YOUR BASECHAMPION.CS

If you want to use this, you'll need to modify your champion loot to have PowerScrollAcc instead of PowerScroll. If unmodified from original, look on line 81 (2 places on same line to change), as well as on line 109 (dealing with the Justice virtue if you have it active). These are the only 3 cases in this script where you have to change "PowerScroll" to "PowerScrollAcc".

STEP 3. MODIFY YOUR BOD REWARDS

Also, you might want to change your Rewards.cs for BOD's. For example, if unmodified, go to line 235 where it reads this....

Code:
return new PowerScroll( SkillName.Blacksmith, 100 + type );
....and change PowerScroll to PowerScrollAcc, and also take out the "100 +", so it reads as follows.....

Code:
return new PowerScrollAcc( SkillName.Blacksmith, type );
Do this further down for Tailoring as well....and for any other PS rewards for customized BOD's you may have, otherwise, they'll have to get their caps the old-fashioned way.

Hope some can use it......
Attached Files
File Type: cs PowerScrollAcc.cs (10.9 KB, 66 views)
Skarth 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