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 08-17-2005, 05:11 PM   #1 (permalink)
Forum Novice
 
Join Date: Jul 2004
Location: IL, USA
Posts: 581
Default Hireable Medic

Hireable Medic follows you around and heals you whenever your hits drop by 15 from max.

My test character could stand toe to toe with a dragon and finally win the battle (most times). This test character has 40 resists on all 5, 90 hit points, 80 fencing and was using a dagger. The Medic kept up with the damage.

This script is based on the BaseHire in NeRun's Distro package. I have included that script in case you don't already have it.

I have found the new players will use the Medic until they get some skills up. I have not seen veterans hire the Medic. Although, as lousy as I am at playing this game, I myself will hire one. I need all the help I can get.

Just drop into your custom folder and also the BaseHire.cs if you don't already have it.

[add medic or spawn in your most advantagous places.

I hope this will be enjoyed.
Attached Files
File Type: cs Medic.cs (2.2 KB, 408 views)
File Type: cs BaseHire.cs (10.3 KB, 333 views)
haazen is offline  
Old 08-17-2005, 06:46 PM   #2 (permalink)
Forum Expert
 
Alis's Avatar
 
Join Date: Jun 2005
Location: Probably where people call it heaven
Posts: 1,452
Send a message via AIM to Alis Send a message via MSN to Alis
Default

as for an idea you should add decay in to it.. this will make it better
Alis is offline  
Old 08-17-2005, 06:51 PM   #3 (permalink)
Forum Master
 
Joeku's Avatar
 
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,261
Default

This looks really neat. Good job.
Joeku is offline  
Old 08-17-2005, 06:59 PM   #4 (permalink)
Forum Novice
 
Join Date: Jul 2004
Location: IL, USA
Posts: 581
Default

Quote:
Originally Posted by Alis
as for an idea you should add decay in to it.. this will make it better
As with any of the Hireables, the term of hire expires after an hour or so and the Medic disappears. Is this what you mean by decay?
haazen is offline  
Old 08-17-2005, 07:22 PM   #5 (permalink)
Forum Expert
 
Alis's Avatar
 
Join Date: Jun 2005
Location: Probably where people call it heaven
Posts: 1,452
Send a message via AIM to Alis Send a message via MSN to Alis
Default

yeap a vendor deed contract form hiremnt
Alis is offline  
Old 08-17-2005, 11:58 PM   #6 (permalink)
 
Join Date: May 2005
Age: 23
Posts: 46
Send a message via MSN to LordPrescott Send a message via Yahoo to LordPrescott
Default

This looks pretty cool Great Work
LordPrescott is offline  
Old 09-03-2005, 07:54 PM   #7 (permalink)
Forum Novice
 
WanderingRage's Avatar
 
Join Date: Jun 2005
Location: Anniston, Alabama
Posts: 158
Send a message via ICQ to WanderingRage Send a message via AIM to WanderingRage Send a message via Yahoo to WanderingRage
Smile Change

Hello, I would like to know where you can change how fast she heals, I realy love the script but for my shard I dont need her to heal that fast so could you tell me where you can change this at please.
WanderingRage is offline  
Old 09-12-2005, 03:27 AM   #8 (permalink)
 
Join Date: Sep 2005
Age: 23
Posts: 7
Default

Quote:
Originally Posted by WanderingRage
Hello, I would like to know where you can change how fast she heals, I realy love the script but for my shard I dont need her to heal that fast so could you tell me where you can change this at please.
Code:
public override void OnThink()
                {
				foreach ( Mobile m in this.GetMobilesInRange( 10 ) )                                                    
			if ( this.ControlMaster == m )
			{
           	 		if ( m.InRange( this, 10 ) ) 
            	 		{ 

					if ( m.Hits < (m.HitsMax - 15) )
					{
					if ( !new HealSpell( this, null ).Cast() )
						{
						new HealSpell( this, null ).Cast();
					m.Hits += 15; // increase here if you want more healing
						}
					}
				}
			}
	  	}
This is from Medic.cs. You can change this value "15" to lower:
m.Hits += 15; // increase here if you want more healing

Then you can edit from begin healer SetSkill values, drop down Anatomy and Magery and it will heal you less I think.
Ceksu is offline  
Old 10-23-2005, 03:29 PM   #9 (permalink)
Newbie
 
Join Date: Dec 2003
Posts: 43
Default

I have added these to my shard and people love them, however I would like to have only people with young status or hours logged to be able to use them, any help would be apreciated if willing.

There is one issue I have come across when using this. it has been reported by a few folks that when they die, from time to time ( when using a medic only ) that they get frozen and are unable to move until they get resed. and medics have been seen following and healing the monsters after being released.
Jebbit is offline  
Old 10-23-2005, 08:06 PM   #10 (permalink)
Newbie
 
Join Date: Dec 2003
Posts: 43
Default

never mind I was able to figure it out. for thoes that would like to have only Young players use this here is the change I made.

Code:
if ( this.ControlMaster == m && m is PlayerMobile && ((PlayerMobile)m).Young )

			{
           	 		if ( m.InRange( this, 10 ) ) 
            	 		{ 

					if ( m.Hits < (m.HitsMax - 5) )
					{
					if ( !new HealSpell( this, null ).Cast() )
						{
						new HealSpell( this, null ).Cast();
					m.Hits += 5; // increase here if you want more healing
						}
					}
				}
			}
else
			{
if ( this.ControlMaster == m )
{
				Say( "You do not need my services" ); // I can do no more for you at this time.
SetControlMaster( null );
}
 
			}

	  	}
Jebbit is offline  
Old 10-23-2005, 10:07 PM   #11 (permalink)
Forum Novice
 
Join Date: Apr 2005
Age: 35
Posts: 118
Default Question?

Is there a way in up the amount they charge for there services?
James4245 is offline  
Old 10-23-2005, 11:06 PM   #12 (permalink)
Forum Novice
 
Join Date: Jul 2004
Location: IL, USA
Posts: 581
Default

The hire rate is determined by the Medic's skill values:

These are the skills that determine hire rate.
Anatomy Tactics Macing Swords Fencing Archery MagicResist Healing Magery Parry

Add all these values together and divide by 35 is the hire rate.

So increase the skill values of the medic will raise the hire rate.
haazen is offline  
Old 10-24-2005, 03:58 AM   #13 (permalink)
Forum Expert
 
Join Date: Sep 2005
Location: Indiana
Age: 27
Posts: 257
Send a message via AIM to Marine_3038 Send a message via MSN to Marine_3038 Send a message via Yahoo to Marine_3038
Default

is the base script the same one that comes with neros distro spawn tool? Causes there a hireables script in it too.
Marine_3038 is offline  
Old 11-01-2005, 11:15 PM   #14 (permalink)
 
Join Date: Jul 2004
Age: 42
Posts: 34
Default

Quote:
ORIGINALLY POSTED BY: Marine_3038 ---
is the base script the same one that comes with neros distro spawn tool? Causes there a hireables script in it too.
Your answer can be found in the initial post...

Quote:
ORIGINALLY POSTED BY: haazen ---
This script is based on the BaseHire in NeRun's Distro package. I have included that script in case you don't already have it.
amherst 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