|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Novice
Join Date: Jul 2004
Location: IL, USA
Posts: 581
|
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. |
|
|
|
|
#4 (permalink) | |
|
Forum Novice
Join Date: Jul 2004
Location: IL, USA
Posts: 581
|
Quote:
|
|
|
|
|
|
#8 (permalink) | |
|
Join Date: Sep 2005
Age: 23
Posts: 7
|
Quote:
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
}
}
}
}
}
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. |
|
|
|
|
|
#9 (permalink) |
|
Newbie
Join Date: Dec 2003
Posts: 43
|
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. |
|
|
|
|
#10 (permalink) |
|
Newbie
Join Date: Dec 2003
Posts: 43
|
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 );
}
}
}
|
|
|
|
|
#12 (permalink) |
|
Forum Novice
Join Date: Jul 2004
Location: IL, USA
Posts: 581
|
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. |
|
|
|
|
#14 (permalink) | ||
|
Join Date: Jul 2004
Age: 42
Posts: 34
|
Quote:
Quote:
|
||
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|