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 04-17-2006, 08:10 PM   #1 (permalink)
 
Join Date: Jan 2004
Posts: 22
Send a message via AIM to Scrollex
Default Vampiric Weapons

Still new to scripting but i have made a couple of things i found nice.

1. Vampiric Weapons, lifeleech each hit, and using the EtchedBlood property on weapons, you can set to how much % of damage the weapon will lifeleech (heal) for.

exHitLeech1: You set EtchedBlood to 50 and you do 100 damage each hit, you are healed for 50 hp.
exHitLeech2: You set EtchedBlood to 100 and you do 100 damage each hit, you are healed for 50 hp.
exStamLeech: Etched Blood = 100, you do 100 damage each hit, you gain 50 stamina.
exManaLeech: Etched Blood = 100, you do 100 damage each hit, you gain 25 mana.

edit: i added a staminaleech thats equal to 50% of etched blood, and manaleach equal to 25% of etched blood, if you wish to remove stamina and mana leech, go down to this section in baseweapon.cs and remove stamleech info and manaleech info
Code:
if ( m_EtchedBlood > 0)
lifeLeech = m_EtchedBlood; // Additional life leech for vampiric weapons.
stamLeech = m_EtchedBlood/2; // Additional stamina leech = 1/2 of EtchedBlood for vampiric weapons.
manaLeech = m_EtchedBlood/4; // Additional mana leech = 1/4 of EtchedBlood for vampiric weapons.
2. Heal spell modifications, i found it quite annoying that you are now forced to cure yourself before being able to heal, when in the past you could heal while poisoned. (The rest of this desc will be on 3rd mod)

3. Cure spell modifications, i noticed that you must cast Cure spell (even with 100 int/magery/eval int/(other magery skill) Several times (around 5-15 times on average) before you successfully cure your target. Because of this, in some fights, you may be dead before you are able to cure yourself and heal because you are forced to cure before you can heal, and even then there is a low chance of successfully curing. For a spell that is entirely meant to cure i found this change a bit.... strange, seeing how a Chance to Successfully cure poison would be better suited for the skills that have a dual purpose, in short: Healing Skill using Bandages.

With that said the attachment contains:
1. Vampiric Weapon's Baseweapon.cs,
2. Heal spells which can be casted on a target that is poisoned
3. Cure spells which have a much higher, if not 100% chance of curing poison.

please note that each script will need to be placed in its proper location.

vampiric weapon's baseweapon.cs in place of the old baseweapon.cs
heal spell's in place of the old heal spells
cure spells in place of the old cure spells

@Lord_Greywolf as i stated in the first edit, about 25 minutes before you posted, i uploaded the wrong file and had to remove/reupload it after i fixed the file.
Attached Files
File Type: rar VampiricWeapon & other.rar (21.2 KB, 59 views)

Last edited by Scrollex; 04-17-2006 at 08:54 PM.
Scrollex is offline  
Old 04-17-2006, 08:43 PM   #2 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 7,279
Send a message via Yahoo to Lord_Greywolf
Default

the files would be nice

but there is a way around using the heal spell for it - in the onhit section - can add it in there using if statements and checking for max HP, etc

then no need to modify the spells
Lord_Greywolf is offline  
Old 04-17-2006, 09:14 PM   #3 (permalink)
 
Join Date: Jan 2004
Posts: 22
Send a message via AIM to Scrollex
Default

hmm this is odd..., whenever i set the an item to a name other than the normal, "nulled" version of the name, the item takes the name of the highest property on the list as the name.

Any clue why it does that?

(wasnt sure if this was due to my vampiric weapon script or not so i posted it here)
Scrollex 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