RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[RunUO 2.0 RC1] 22 New Plugin For Monster

xxx007xxx

Sorceror
21 New Plugin For Monster

Thx to Admin Vorspire's For his Plugin 1.0
http://www.runuo.com/forums/showthread.php?t=72434
Beta
All Plugin Compile without error .
No one is tested in game.

Code:
//C@C Sample Action Starter
	public override void OnGaveMeleeAttack( Mobile defender )
	{
		base.OnGaveMeleeAttack(defender);
	            if (Hits < 500 )
				{
				[COLOR="Red"]MobileFeatures.DoSpawnUndeadArmy[/COLOR](defender);// ClasseName.Action(Target)
				}
	}
Modify the red code to change the Ability:
ClasseName.Action(Target)
Code:
using System;
using System.Collections;
using System.IO;
using Server;
using Server.Items;
using Server.Mobiles;

namespace Server
{
	public class [COLOR="Red"]Drain[/COLOR] //C@C ClasseName
	{		
		public static void [COLOR="Red"]DoHitsDrainAttack[/COLOR](BaseCreature mobile, Mobile mob ) //C@C Action
		{

			foreach (Mobile m in mobile.GetMobilesInRange( 1 ) )
				if (m != null && m.Hits >= 50 && m.AccessLevel == AccessLevel.Player)
					mobile.Hits += 6;
					mob.Hits -= 5;
		}
21 New action Action come from Admin Vorspire's,Champ,RunUOforum
Here is the list:

ClasseName.Action And Description

-Teleportto.DoTeleTo//Should teleport monster to player -10mana to monster
-Trowto.DoBomber // Trow Bomb to Player...
-Drain.DoHitsDrainAttack //Drain hits Player in a range 1 5hits
-Drain.DoStamDrainAttack //Drain stam Player in a range 1 5stam
-Drain.DoManaDrainAttack // Drain mana Player in a range 1 5mana
-Reveal.DoHumanReveal // Reveal in a range of 10 and talk
-Blocking.Block // Froze the monster
-Drugged.ActStoned // make the player move random and talk
-Magic.Earthquaker // EarthQuake From Champ Spell
-Magic.PowerWordKill // one hit kill (instant kill)
-Magic.HitPoison // hit lethal poison
-Area.DoMassPeace// Remove Current target
-Area.DoMassProvoke // all attack the player
-Area.DoAreaAttack // simple area dmg
-Spawn.SpawnUndeadArmy // Spawn
-SpawnAndEat.SpawnBogling // Spawn
-SpawnAndEat.EatBoglings // Eat His Spawn
-Morph.Polymorph // Champ Spell
-Trow.UnholyBone // Trow Something
-SpawmTeleport.BeginRift // Should make a teleport and tele himself to a location

But all Depend on the Action Starter this is just the ActionHandeler.

Beta
 

Attachments

  • Pluginbeta.zip
    8.3 KB · Views: 208
  • Balrog.cs
    1.8 KB · Views: 156

Tee312

Wanderer
awesome :) also might be a good idea to add where to put there these lines in a script for a monster ;) to make the monster have the ability. Have like a description of how to use it :)
 
Top