Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Releases

Custom Script Releases This forum is where you can release your custom scripts for other users to use.

Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO.

Reply
 
Thread Tools Display Modes
Old 07-04-2008, 08:06 PM   #1 (permalink)
Newbie
 
radsgarath's Avatar
 
Join Date: Nov 2003
Posts: 12
Post [RunUO 2.0 Rc2] SkillsCap Power Scroll

Hi there, this is my first 'release', so be nice with it!

[About]
its a simple, but efficient, script to give a way to players be able to raise their total skills cap, just like the 'Power Scroll' for Stats, gave by default, by the Harrower.

[How it works]
It sets the total skills cap for a player, after using the scroll. You can add it to the shard by two ways:
Or you add it manutally, by using: [add skillscapscroll value ;
Or by giving inside a monster's loot:

Method 1, add it inside the monster's carrying itens:
Code:
...
    Fame = 3000;
    Karma = -3000;
    VirtualArmor = 38;

    PackItem(new SkillsCapScroll(value));

//Change 'value' to the desired total skills cap
...
Method 2, add it inside the monster's generateloot (carefull, luck will affect the quantity)
Code:
...
public override void GenerateLoot()
{
     AddLoot( LootPack.Meager );
     PackItem(new SkillsCapScroll(value));
     AddLoot( LootPack.Potions );
}
...
Method 3, use a system based on the number of players, like in Harrower.cs End of File

You can get a good tutorial right here: The Ultimate Loot FAQ. There is a good explanation about adding itens..

[Version]
This one works with RunUO 2.0 Rc2, but using a merge tool, you can easily adapt to another versions.
This is the Version 1, 04/07/2008

[Ending]
Besides it is a simple script, it may be strange for that not used with runuo... all help is good ^^
And feel free to do whatever you want with it!, for i dont know if i will add features to this (maybe if the shard needs =p). But don't hold yourself to ask for some improvments!

Sorry for the bad english!
Attached Files
File Type: zip SkillsCapPowerScrolls.zip (2.7 KB, 15 views)

Last edited by radsgarath; 07-06-2008 at 06:51 AM.
radsgarath 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