Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 08-30-2004, 06:56 AM   #1 (permalink)
 
Join Date: Jan 2004
Posts: 53
Default SkillSet and ResetSkill

SkillSet and ResetSkill

this are to items i made, both based on the skillball made by calebbreen.

the SkillSet is an item, that lets the user choose, wich skill he wants to raise to 80 or 90 (crafting-skills). to customize it to other values go in the script and edit the lines 151 and 153
Code:
if( m.Skills[info.ButtonID].Base < 80 )
m.Skills[info.ButtonID].Base = 80;
and 171, 173 for the crafting-skills.



the script tests, if the user would exeed his skill-stats, to customize them go to line 144 (80-skills)
Code:
		if( m.Skills.Total > 6200 )
and line 164 (90-skills)
Code:
		if( m.Skills.Total > 6100 )



the ResetSkill-stone is *surprise* a stone, where a player can lower a skill to zero. doubleklicking it, the player gets a gump an choses the skill to lower.


at the moment i'm trying to edit the SkillSet to add uses and owner-rights to it, if i ever will be successful i'll post them.

[edit]
SetMySkills is finished, thanks to plus for finding the error. The item is the same as SkillSet but has uses now.
[/edit]
Attached Files
File Type: cs skillSet.cs (4.7 KB, 39 views)
File Type: cs ResetSkills.cs (3.2 KB, 37 views)
File Type: zip SetMySkills.zip (2.2 KB, 37 views)
paole 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