Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
52
Scripts/Scripts-master/Items/Weapons/AncientBlade.cs
Normal file
52
Scripts/Scripts-master/Items/Weapons/AncientBlade.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
//Created by Script Creator
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
|
||||
{
|
||||
|
||||
public class AncientBlade : VikingSword
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 155; } }
|
||||
public override int AosMinDamage{ get{ return 26; } }
|
||||
public override int AosMaxDamage{ get{ return 42; } }
|
||||
|
||||
[Constructable]
|
||||
public AncientBlade()
|
||||
{
|
||||
Weight = 5;
|
||||
Name = "Ancient Blade";
|
||||
Hue = 0;
|
||||
|
||||
WeaponAttributes.DurabilityBonus = 1000;
|
||||
WeaponAttributes.HitLeechHits = 25;
|
||||
WeaponAttributes.HitLeechMana = 25;
|
||||
WeaponAttributes.HitLeechStam = 25;
|
||||
WeaponAttributes.SelfRepair = 100;
|
||||
WeaponAttributes.UseBestSkill = 1;
|
||||
|
||||
Attributes.ReflectPhysical = 55;
|
||||
Attributes.SpellChanneling = 1;
|
||||
|
||||
}
|
||||
|
||||
public AncientBlade( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
111
Scripts/Scripts-master/Items/Weapons/AxeOfTheGrove.cs
Normal file
111
Scripts/Scripts-master/Items/Weapons/AxeOfTheGrove.cs
Normal file
@@ -0,0 +1,111 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class AxeOfTheGrove : DoubleAxe
|
||||
{
|
||||
|
||||
public override int ArtifactRarity{ get{ return 10; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
private Mobile m_Owner;
|
||||
|
||||
[Constructable]
|
||||
public AxeOfTheGrove()
|
||||
{
|
||||
Name = "Axe of the Grove";
|
||||
Hue = 1366;
|
||||
Attributes.WeaponDamage = 15;
|
||||
Attributes.SpellChanneling = 1;
|
||||
WeaponAttributes.HitLightning = 55;
|
||||
Attributes.AttackChance = 5;
|
||||
Attributes.DefendChance = 5;
|
||||
WeaponAttributes.HitPhysicalArea = 15;
|
||||
WeaponAttributes.HitPoisonArea = 10;
|
||||
WeaponAttributes.HitLeechHits = 40;
|
||||
LootType = LootType.Blessed;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (this.IsChildOf(from.Backpack))
|
||||
{
|
||||
// set owner if not already set -- this is only done the first time.
|
||||
if (m_Owner == null)
|
||||
{
|
||||
m_Owner = from;
|
||||
this.Name = m_Owner.Name.ToString() + "'s Axe of the Grove";
|
||||
from.SendMessage("You feel the axe grow fond of you.");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_Owner != from)
|
||||
{
|
||||
from.SendMessage("Sorry but this axe does not belong to you.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
from.SendMessage(1173, "This axe must be in your pack to use.");
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnEquip(Mobile from)
|
||||
{
|
||||
// set owner if not already set -- this is only done the first time.
|
||||
if (m_Owner == null)
|
||||
{
|
||||
m_Owner = from;
|
||||
this.Name = m_Owner.Name.ToString() + "'s Axe of the Grove";
|
||||
from.SendMessage("You feel the axe grow fond of you.");
|
||||
return base.OnEquip(from);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_Owner != from)
|
||||
{
|
||||
from.SendMessage("Sorry but this axe does not belong to you.");
|
||||
return false;
|
||||
}
|
||||
|
||||
return base.OnEquip(from);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AxeOfTheGrove( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 ); // version
|
||||
|
||||
writer.Write(m_Owner); // Version 1
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
switch (version)
|
||||
{
|
||||
case 1:
|
||||
m_Owner = reader.ReadMobile();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
60
Scripts/Scripts-master/Items/Weapons/Champion.cs
Normal file
60
Scripts/Scripts-master/Items/Weapons/Champion.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
//Created by Script Creator
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
|
||||
{
|
||||
|
||||
public class Champion : LargeBattleAxe
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 999; } }
|
||||
public override int AosMinDamage{ get{ return 10; } }
|
||||
public override int AosMaxDamage{ get{ return 25; } }
|
||||
|
||||
[Constructable]
|
||||
public Champion()
|
||||
{
|
||||
Weight = 1;
|
||||
Name = "Champion";
|
||||
Hue = 1153;
|
||||
|
||||
WeaponAttributes.DurabilityBonus = 100;
|
||||
WeaponAttributes.HitColdArea = 50;
|
||||
WeaponAttributes.HitEnergyArea = 50;
|
||||
WeaponAttributes.HitFireArea = 50;
|
||||
WeaponAttributes.HitPhysicalArea = 50;
|
||||
WeaponAttributes.HitPoisonArea = 50;
|
||||
WeaponAttributes.SelfRepair = 10;
|
||||
|
||||
Attributes.AttackChance = 25;
|
||||
Attributes.BonusDex = 5;
|
||||
Attributes.BonusInt = 5;
|
||||
Attributes.CastRecovery = 1;
|
||||
Attributes.CastSpeed = 1;
|
||||
Attributes.Luck = 500;
|
||||
Attributes.ReflectPhysical = 25;
|
||||
Attributes.SpellChanneling = 1;
|
||||
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public Champion( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
61
Scripts/Scripts-master/Items/Weapons/DeathScythe.cs
Normal file
61
Scripts/Scripts-master/Items/Weapons/DeathScythe.cs
Normal file
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class DeathScythe : Scythe
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 666; } }
|
||||
|
||||
public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.BleedAttack; } }
|
||||
public override WeaponAbility SecondaryAbility{ get{ return WeaponAbility.ParalyzingBlow; } }
|
||||
|
||||
public override float MlSpeed{ get{ return 3.50f; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public DeathScythe()
|
||||
{
|
||||
Name = "Essence of Death";
|
||||
Attributes.WeaponDamage = 70;
|
||||
WeaponAttributes.HitLeechHits = 60;
|
||||
Attributes.AttackChance = 20;
|
||||
Attributes.BonusStr = 10;
|
||||
Attributes.Luck = 250;
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.WeaponSpeed = 45;
|
||||
MaxRange = 5;
|
||||
Hue = 1157;
|
||||
HitSound = 505;
|
||||
MissSound = 481;
|
||||
}
|
||||
|
||||
public virtual void OnHit( Mobile attacker, Mobile defender )
|
||||
{
|
||||
attacker.MovingEffect( defender, 8707, 3, 3, false, false );
|
||||
defender.FixedParticles( 8700, 10, 30, 5052, EffectLayer.LeftFoot );
|
||||
defender.FixedParticles( 6942, 10, 30, 5052, EffectLayer.RightFoot );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
|
||||
public DeathScythe( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
55
Scripts/Scripts-master/Items/Weapons/ElectroSword.cs
Normal file
55
Scripts/Scripts-master/Items/Weapons/ElectroSword.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ElectroSword : Katana
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 25; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public ElectroSword()
|
||||
{
|
||||
Name = "Electro Sword";
|
||||
Attributes.WeaponDamage = 60;
|
||||
Attributes.WeaponSpeed = 35;
|
||||
Attributes.Luck = 200;
|
||||
Attributes.SpellChanneling = 1;
|
||||
WeaponAttributes.HitLowerAttack = 54;
|
||||
Attributes.BonusStr = 7;
|
||||
Attributes.AttackChance = 20;
|
||||
MaxRange = 3;
|
||||
Hue = 1159;
|
||||
HitSound = 756;
|
||||
MissSound = 476;
|
||||
WeaponAttributes.HitLightning = 65;
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public virtual void OnHit( Mobile attacker, Mobile defender )
|
||||
{
|
||||
attacker.MovingEffect( defender, 14363, 3, 3, false, false );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
public ElectroSword( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
61
Scripts/Scripts-master/Items/Weapons/Flame Tongue.cs
Normal file
61
Scripts/Scripts-master/Items/Weapons/Flame Tongue.cs
Normal file
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class FlameTongue : ExecutionersAxe
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 37; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public FlameTongue()
|
||||
{
|
||||
Name = "FlameTongue";
|
||||
Attributes.WeaponDamage = 60;
|
||||
WeaponAttributes.HitFireball = 65;
|
||||
Attributes.WeaponSpeed = 35;
|
||||
Attributes.Luck = 100;
|
||||
Attributes.SpellChanneling = 1;
|
||||
WeaponAttributes.HitLowerAttack = 54;
|
||||
Attributes.BonusStr = 8;
|
||||
Attributes.AttackChance = 20;
|
||||
MaxRange = 5;
|
||||
Hue = 1161;
|
||||
HitSound = 351;
|
||||
MissSound = 520;
|
||||
}
|
||||
|
||||
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy, out int chaos, out int direct )
|
||||
{
|
||||
pois = cold = nrgy = phys = chaos = direct = 0;
|
||||
fire = 100;
|
||||
}
|
||||
|
||||
public virtual void OnHit( Mobile attacker, Mobile defender )
|
||||
{
|
||||
attacker.MovingEffect( defender, 14068, 3, 3, false, false );
|
||||
defender.FixedParticles( 14089, 10, 30, 5052, EffectLayer.LeftFoot );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
public FlameTongue( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
113
Scripts/Scripts-master/Items/Weapons/ForkofArms.cs
Normal file
113
Scripts/Scripts-master/Items/Weapons/ForkofArms.cs
Normal file
@@ -0,0 +1,113 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ForkofArms : WarFork
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 55; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public ForkofArms()
|
||||
{
|
||||
Name = "Warfork of Arms";
|
||||
Attributes.WeaponDamage = 60;
|
||||
Attributes.WeaponSpeed = 35;
|
||||
WeaponAttributes.HitFireball = 50;
|
||||
WeaponAttributes.HitDispel = 52;
|
||||
Attributes.AttackChance = 20;
|
||||
Attributes.DefendChance = 10;
|
||||
Attributes.Luck = 250;
|
||||
Attributes.SpellChanneling = 1;
|
||||
//MaxRange = 1;
|
||||
Hue = 1175;
|
||||
HitSound = 0x56;
|
||||
MissSound = 0x2A1;
|
||||
}
|
||||
|
||||
public virtual void OnHit( Mobile attacker, Mobile defender )
|
||||
{
|
||||
int roll = Utility.Random( 10 );
|
||||
|
||||
if ( roll == 1 )
|
||||
{
|
||||
attacker.MovingEffect( defender, 3922, 3, 3, false, false );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
|
||||
else if ( roll == 2 )
|
||||
{
|
||||
attacker.MovingEffect( defender, 5121, 3, 3, false, false );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
|
||||
else if ( roll == 3 )
|
||||
{
|
||||
attacker.MovingEffect( defender, 9556, 3, 3, false, false );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
|
||||
else if ( roll == 4 )
|
||||
{
|
||||
attacker.MovingEffect( defender, 5123, 3, 3, false, false );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
|
||||
else if ( roll == 5 )
|
||||
{
|
||||
attacker.MovingEffect( defender, 3937, 3, 3, false, false );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
|
||||
else if ( roll == 6 )
|
||||
{
|
||||
attacker.MovingEffect( defender, 5049, 3, 3, false, false );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
|
||||
else if ( roll == 7 )
|
||||
{
|
||||
attacker.MovingEffect( defender, 9560, 3, 3, false, false );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
|
||||
else if ( roll == 8 )
|
||||
{
|
||||
attacker.MovingEffect( defender, 9591, 3, 3, false, false );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
|
||||
else if ( roll == 9 )
|
||||
{
|
||||
attacker.MovingEffect( defender, 9592, 3, 3, false, false );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
|
||||
else if ( roll == 10 )
|
||||
{
|
||||
attacker.MovingEffect( defender, 9570, 3, 3, false, false );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
}
|
||||
public ForkofArms( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
64
Scripts/Scripts-master/Items/Weapons/HellsAxe.cs
Normal file
64
Scripts/Scripts-master/Items/Weapons/HellsAxe.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
//Created by Script Creator
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
|
||||
{
|
||||
|
||||
public class HellsAxe : LargeBattleAxe
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 666; } }
|
||||
public override int AosMinDamage{ get{ return 25; } }
|
||||
public override int AosMaxDamage{ get{ return 45; } }
|
||||
|
||||
[Constructable]
|
||||
public HellsAxe()
|
||||
{
|
||||
Weight = 2;
|
||||
Name = "Hells Axe";
|
||||
Hue = 1157;
|
||||
|
||||
WeaponAttributes.DurabilityBonus = 100;
|
||||
WeaponAttributes.HitHarm = 85;
|
||||
WeaponAttributes.HitLightning = 60;
|
||||
WeaponAttributes.HitMagicArrow = 75;
|
||||
WeaponAttributes.LowerStatReq = 100;
|
||||
WeaponAttributes.SelfRepair = 10;
|
||||
WeaponAttributes.UseBestSkill = 1;
|
||||
|
||||
Attributes.AttackChance = 25;
|
||||
Attributes.BonusDex = 50;
|
||||
Attributes.BonusHits = 100;
|
||||
Attributes.CastRecovery = 1;
|
||||
Attributes.CastSpeed = 1;
|
||||
Attributes.DefendChance = 25;
|
||||
Attributes.LowerManaCost = 10;
|
||||
Attributes.LowerRegCost = 45;
|
||||
Attributes.Luck = 1000;
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.SpellDamage = 15;
|
||||
Attributes.WeaponDamage = 25;
|
||||
Attributes.WeaponSpeed = 25;
|
||||
|
||||
}
|
||||
|
||||
public HellsAxe( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
60
Scripts/Scripts-master/Items/Weapons/KingsScepter.cs
Normal file
60
Scripts/Scripts-master/Items/Weapons/KingsScepter.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
//Created by Script Creator
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
|
||||
{
|
||||
|
||||
public class KingsScepter : Scepter
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 1010; } }
|
||||
public override int AosMinDamage{ get{ return 20; } }
|
||||
public override int AosMaxDamage{ get{ return 25; } }
|
||||
|
||||
[Constructable]
|
||||
public KingsScepter()
|
||||
{
|
||||
Weight = 5;
|
||||
Name = "Kings Scepter";
|
||||
Hue = 32;
|
||||
|
||||
WeaponAttributes.DurabilityBonus = 100;
|
||||
WeaponAttributes.HitEnergyArea = 15;
|
||||
WeaponAttributes.HitFireArea = 50;
|
||||
WeaponAttributes.HitHarm = 55;
|
||||
WeaponAttributes.HitLeechHits = 25;
|
||||
WeaponAttributes.HitLeechMana = 25;
|
||||
WeaponAttributes.HitLeechStam = 25;
|
||||
WeaponAttributes.HitLightning = 65;
|
||||
WeaponAttributes.HitLowerAttack = 10;
|
||||
WeaponAttributes.HitMagicArrow = 25;
|
||||
WeaponAttributes.HitPhysicalArea = 10;
|
||||
WeaponAttributes.HitPoisonArea = 10;
|
||||
WeaponAttributes.SelfRepair = 10;
|
||||
|
||||
Attributes.AttackChance = 10;
|
||||
Attributes.DefendChance = 10;
|
||||
Attributes.SpellChanneling = 1;
|
||||
|
||||
}
|
||||
|
||||
public KingsScepter( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
118
Scripts/Scripts-master/Items/Weapons/Lower48.cs
Normal file
118
Scripts/Scripts-master/Items/Weapons/Lower48.cs
Normal file
@@ -0,0 +1,118 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute( 0x13FF, 0x13FE )]
|
||||
public class Lower48 : BaseSword
|
||||
{
|
||||
public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.CrushingBlow; } }
|
||||
public override WeaponAbility SecondaryAbility{ get{ return WeaponAbility.ArmorIgnore; } }
|
||||
|
||||
public override int AosStrengthReq{ get{ return 40; } }
|
||||
public override int AosMinDamage{ get{ return 16; } }
|
||||
public override int AosMaxDamage{ get{ return 18; } }
|
||||
public override int AosSpeed{ get{ return 35; } }
|
||||
public override float MlSpeed{ get{ return 3.50f; } }
|
||||
|
||||
public override int OldStrengthReq{ get{ return 40; } }
|
||||
public override int OldMinDamage{ get{ return 16; } }
|
||||
public override int OldMaxDamage{ get{ return 18; } }
|
||||
public override int OldSpeed{ get{ return 35; } }
|
||||
|
||||
public override int DefHitSound{ get{ return 0x23B; } }
|
||||
public override int DefMissSound{ get{ return 0x23A; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 250; } }
|
||||
public override int InitMaxHits{ get{ return 250; } }
|
||||
|
||||
private Mobile m_Owner;
|
||||
|
||||
[Constructable]
|
||||
public Lower48() : base( 0x27A2 )
|
||||
{
|
||||
this.Name = "-Lower 48-";
|
||||
this.Hue = 1390;
|
||||
this.Weight = 10.0;
|
||||
this.Layer = Layer.OneHanded;
|
||||
this.Attributes.WeaponSpeed = 90;
|
||||
this.Attributes.SpellChanneling = 1;
|
||||
this.Attributes.WeaponDamage = 25;
|
||||
this.WeaponAttributes.HitMagicArrow = 50;
|
||||
}
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (this.IsChildOf(from.Backpack))
|
||||
{
|
||||
// set owner if not already set -- this is only done the first time.
|
||||
if (m_Owner == null)
|
||||
{
|
||||
m_Owner = from;
|
||||
this.Name = m_Owner.Name.ToString() + "'s Sword";
|
||||
from.SendMessage("You feel the sword grow fond of you.");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_Owner != from)
|
||||
{
|
||||
from.SendMessage("Sorry but this sword does not belong to you.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
from.SendMessage(1173, "This sword must be in your pack to use.");
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnEquip(Mobile from)
|
||||
{
|
||||
// set owner if not already set -- this is only done the first time.
|
||||
if (m_Owner == null)
|
||||
{
|
||||
m_Owner = from;
|
||||
this.Name = m_Owner.Name.ToString() + "'s Sword";
|
||||
from.SendMessage("You feel the sword grow fond of you.");
|
||||
return base.OnEquip(from);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_Owner != from)
|
||||
{
|
||||
from.SendMessage("Sorry but this Sword does not belong to you.");
|
||||
return false;
|
||||
}
|
||||
|
||||
return base.OnEquip(from);
|
||||
}
|
||||
}
|
||||
public Lower48( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 ); // version
|
||||
|
||||
writer.Write(m_Owner); // Version 1
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
switch (version)
|
||||
{
|
||||
case 1:
|
||||
m_Owner = reader.ReadMobile();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
118
Scripts/Scripts-master/Items/Weapons/Marsumane.cs
Normal file
118
Scripts/Scripts-master/Items/Weapons/Marsumane.cs
Normal file
@@ -0,0 +1,118 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute( 0x27A2, 0x27ED )]
|
||||
public class Marsumane : BaseSword
|
||||
{
|
||||
public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.CrushingBlow; } }
|
||||
public override WeaponAbility SecondaryAbility{ get{ return WeaponAbility.ArmorIgnore; } }
|
||||
|
||||
public override int AosStrengthReq{ get{ return 40; } }
|
||||
public override int AosMinDamage{ get{ return 16; } }
|
||||
public override int AosMaxDamage{ get{ return 18; } }
|
||||
public override int AosSpeed{ get{ return 35; } }
|
||||
public override float MlSpeed{ get{ return 3.50f; } }
|
||||
|
||||
public override int OldStrengthReq{ get{ return 40; } }
|
||||
public override int OldMinDamage{ get{ return 16; } }
|
||||
public override int OldMaxDamage{ get{ return 18; } }
|
||||
public override int OldSpeed{ get{ return 35; } }
|
||||
|
||||
public override int DefHitSound{ get{ return 0x23B; } }
|
||||
public override int DefMissSound{ get{ return 0x23A; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 250; } }
|
||||
public override int InitMaxHits{ get{ return 250; } }
|
||||
|
||||
private Mobile m_Owner;
|
||||
|
||||
[Constructable]
|
||||
public Marsumane() : base( 0x27A2 )
|
||||
{
|
||||
this.Name = "-Marsumane-";
|
||||
this.Hue = 1109;
|
||||
this.Weight = 10.0;
|
||||
this.Layer = Layer.OneHanded;
|
||||
this.Attributes.WeaponSpeed = 15;
|
||||
this.Attributes.SpellChanneling = 1;
|
||||
this.Attributes.WeaponDamage = 90;
|
||||
this.WeaponAttributes.HitFireball = 50;
|
||||
}
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (this.IsChildOf(from.Backpack))
|
||||
{
|
||||
// set owner if not already set -- this is only done the first time.
|
||||
if (m_Owner == null)
|
||||
{
|
||||
m_Owner = from;
|
||||
this.Name = m_Owner.Name.ToString() + "'s Marsumane";
|
||||
from.SendMessage("You feel the sword grow fond of you.");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_Owner != from)
|
||||
{
|
||||
from.SendMessage("Sorry but this sword does not belong to you.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
from.SendMessage(1173, "This sword must be in your pack to use.");
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnEquip(Mobile from)
|
||||
{
|
||||
// set owner if not already set -- this is only done the first time.
|
||||
if (m_Owner == null)
|
||||
{
|
||||
m_Owner = from;
|
||||
this.Name = m_Owner.Name.ToString() + "'s Marsumane";
|
||||
from.SendMessage("You feel the sword grow fond of you.");
|
||||
return base.OnEquip(from);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_Owner != from)
|
||||
{
|
||||
from.SendMessage("Sorry but this Sword does not belong to you.");
|
||||
return false;
|
||||
}
|
||||
|
||||
return base.OnEquip(from);
|
||||
}
|
||||
}
|
||||
public Marsumane( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 ); // version
|
||||
|
||||
writer.Write(m_Owner); // Version 1
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
switch (version)
|
||||
{
|
||||
case 1:
|
||||
m_Owner = reader.ReadMobile();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
50
Scripts/Scripts-master/Items/Weapons/SeaSpear.cs
Normal file
50
Scripts/Scripts-master/Items/Weapons/SeaSpear.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SeaSpear : ShortSpear
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 1337; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public SeaSpear()
|
||||
{
|
||||
Name = "Spear of the Sea";
|
||||
Attributes.WeaponDamage = 50;
|
||||
WeaponAttributes.UseBestSkill = 1;
|
||||
MaxRange = 5;
|
||||
Hue = 1176;
|
||||
HitSound = 279;
|
||||
MissSound = 17;
|
||||
WeaponAttributes.HitHarm = 100;
|
||||
}
|
||||
|
||||
public virtual void OnHit( Mobile attacker, Mobile defender )
|
||||
{
|
||||
attacker.MovingEffect( defender, 5369, 3, 3, false, false );
|
||||
defender.FixedParticles( 8383, 10, 30, 5052, EffectLayer.LeftFoot );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
public SeaSpear( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
66
Scripts/Scripts-master/Items/Weapons/StaffOfTheGods.cs
Normal file
66
Scripts/Scripts-master/Items/Weapons/StaffOfTheGods.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
//Created by Script Creator
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
|
||||
{
|
||||
|
||||
public class StaffOfTheGods : BlackStaff
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 999; } }
|
||||
public override int AosMinDamage{ get{ return 25; } }
|
||||
public override int AosMaxDamage{ get{ return 35; } }
|
||||
|
||||
[Constructable]
|
||||
public StaffOfTheGods()
|
||||
{
|
||||
Weight = 5;
|
||||
Name = "Staff Of The Gods";
|
||||
Hue = 1153;
|
||||
|
||||
WeaponAttributes.DurabilityBonus = 1000;
|
||||
WeaponAttributes.HitEnergyArea = 100;
|
||||
WeaponAttributes.HitHarm = 100;
|
||||
WeaponAttributes.HitLightning = 100;
|
||||
WeaponAttributes.SelfRepair = 10;
|
||||
|
||||
Attributes.BonusDex = 10;
|
||||
Attributes.BonusInt = 10;
|
||||
Attributes.CastRecovery = 5;
|
||||
Attributes.CastSpeed = 5;
|
||||
Attributes.DefendChance = 25;
|
||||
Attributes.LowerManaCost = 50;
|
||||
Attributes.LowerRegCost = 50;
|
||||
Attributes.Luck = 1000;
|
||||
Attributes.ReflectPhysical = 25;
|
||||
Attributes.RegenHits = 10;
|
||||
Attributes.RegenMana = 10;
|
||||
Attributes.RegenStam = 10;
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.SpellDamage = 50;
|
||||
Attributes.WeaponDamage = 75;
|
||||
Attributes.WeaponSpeed = 75;
|
||||
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public StaffOfTheGods( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
48
Scripts/Scripts-master/Items/Weapons/StoneAxe.cs
Normal file
48
Scripts/Scripts-master/Items/Weapons/StoneAxe.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class StoneAxe : DoubleAxe
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 1337; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public StoneAxe()
|
||||
{
|
||||
Name = "Stone Axe";
|
||||
Attributes.WeaponDamage = 150;
|
||||
MaxRange = 5;
|
||||
Hue = 1807;
|
||||
HitSound = 502;
|
||||
MissSound = 755;
|
||||
}
|
||||
|
||||
public virtual void OnHit( Mobile attacker, Mobile defender )
|
||||
{
|
||||
attacker.MovingEffect( defender, 6002, 3, 3, false, false );
|
||||
defender.FixedParticles( 4534, 10, 30, 5052, EffectLayer.LeftFoot );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
public StoneAxe( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
97
Scripts/Scripts-master/Items/Weapons/SwordOfInsults.cs
Normal file
97
Scripts/Scripts-master/Items/Weapons/SwordOfInsults.cs
Normal file
@@ -0,0 +1,97 @@
|
||||
|
||||
/*Created by Hammerhand*/
|
||||
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
using Server.Prompts;
|
||||
using Server.Gumps;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Misc;
|
||||
using Server.Targeting;
|
||||
using Server.Commands;
|
||||
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SwordOfInsults : BaseSword
|
||||
{
|
||||
public override WeaponAbility PrimaryAbility { get { return WeaponAbility.CrushingBlow; } }
|
||||
public override WeaponAbility SecondaryAbility { get { return WeaponAbility.ArmorIgnore; } }
|
||||
|
||||
public override int ArtifactRarity { get { return 1405; } }
|
||||
public override int InitMinHits { get { return 250; } }
|
||||
public override int InitMaxHits { get { return 255; } }
|
||||
public override int AosSpeed { get { return 33; } }
|
||||
|
||||
public override int AosStrengthReq { get { return 50; } }
|
||||
public override int AosMinDamage { get { return 25; } }
|
||||
public override int AosMaxDamage { get { return 35; } }
|
||||
|
||||
private DateTime timeTalk = DateTime.Now;
|
||||
|
||||
[Constructable]
|
||||
public SwordOfInsults()
|
||||
: base(0xF5E)
|
||||
{
|
||||
Name = "Sword Of Insults";
|
||||
Hue = 1167;
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.BonusStr = 10;
|
||||
Attributes.BonusDex = 10;
|
||||
Attributes.Luck = 100;
|
||||
Attributes.AttackChance = 10;
|
||||
Attributes.WeaponSpeed = 25;
|
||||
|
||||
WeaponAttributes.HitDispel = 5;
|
||||
WeaponAttributes.HitLightning = 15;
|
||||
WeaponAttributes.HitFireball = 10;
|
||||
WeaponAttributes.SelfRepair = 5;
|
||||
|
||||
}
|
||||
|
||||
public SwordOfInsults(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
public override void OnHit(Mobile attacker, IDamageable defender, double damageBonus)
|
||||
{
|
||||
base.OnHit(attacker, defender, damageBonus);
|
||||
|
||||
if (DateTime.Now >= timeTalk)
|
||||
{
|
||||
switch (Utility.Random(40))
|
||||
{
|
||||
case 0: attacker.Say("If you try really hard, you just might hurt me.."); break;
|
||||
case 1: attacker.Say("Are you trying to kill me, or dance with me?"); break;
|
||||
case 2: attacker.Say("What are you doing? Fanning me because I look hot?"); break;
|
||||
case 3: attacker.Say("My grandma hits harder than that!"); break;
|
||||
case 4: attacker.Say("What was THAT? A LOVE tap?"); break;
|
||||
case 5: attacker.Say("Armor ignore? How about MONSTER ignore?"); break;
|
||||
case 6: attacker.Say("You look like you're swatting flies!"); break;
|
||||
case 7: attacker.Say("What is this? A dance contest??"); break;
|
||||
case 8: attacker.Say("Yaaawwwnnn.. Wake me up later, will you?"); break;
|
||||
case 9: attacker.Say("Ohhhh Did that hurt??"); break;
|
||||
|
||||
}
|
||||
timeTalk = DateTime.Now + TimeSpan.FromSeconds(2.5); // To set delay time for sword speech
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
65
Scripts/Scripts-master/Items/Weapons/SwordsoftheDemonic.cs
Normal file
65
Scripts/Scripts-master/Items/Weapons/SwordsoftheDemonic.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute( 0x27A9, 0x27F4 )]
|
||||
public class SwordsoftheDemonic : BaseSword
|
||||
{
|
||||
public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.Feint; } }
|
||||
public override WeaponAbility SecondaryAbility{ get{ return WeaponAbility.DoubleStrike; } }
|
||||
|
||||
public override int AosStrengthReq{ get{ return 40; } }
|
||||
public override int AosMinDamage{ get{ return 13; } }
|
||||
public override int AosMaxDamage{ get{ return 15; } }
|
||||
public override int AosSpeed{ get{ return 40; } }
|
||||
public override float MlSpeed{ get{ return 2.75f; } }
|
||||
|
||||
public override int OldStrengthReq{ get{ return 40; } }
|
||||
public override int OldMinDamage{ get{ return 13; } }
|
||||
public override int OldMaxDamage{ get{ return 15; } }
|
||||
public override int OldSpeed{ get{ return 40; } }
|
||||
|
||||
public override int DefHitSound{ get{ return 0x23B; } }
|
||||
public override int DefMissSound{ get{ return 0x23A; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 45; } }
|
||||
public override int InitMaxHits{ get{ return 65; } }
|
||||
|
||||
[Constructable]
|
||||
public SwordsoftheDemonic() : base( 0x27A9 )
|
||||
{
|
||||
Weight = 8.0;
|
||||
Hue = 1;
|
||||
Name = "Swords of the Demonic";
|
||||
Attributes.SpellChanneling = Utility.Random(0, 1);
|
||||
Attributes.WeaponDamage = Utility.Random(0, 50);
|
||||
Attributes.WeaponSpeed = Utility.Random(0, 30);
|
||||
Attributes.AttackChance = 15;
|
||||
WeaponAttributes.HitLowerAttack = Utility.Random(0, 30);
|
||||
WeaponAttributes.HitFireball = Utility.Random(0, 50);
|
||||
WeaponAttributes.HitLightning = Utility.Random(0, 70);
|
||||
WeaponAttributes.HitHarm = 50;
|
||||
Layer = Layer.TwoHanded;
|
||||
}
|
||||
|
||||
public SwordsoftheDemonic( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
119
Scripts/Scripts-master/Items/Weapons/Tetsiga.cs
Normal file
119
Scripts/Scripts-master/Items/Weapons/Tetsiga.cs
Normal file
@@ -0,0 +1,119 @@
|
||||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute( 0x27A2, 0x27ED )]
|
||||
public class Tetsiga : BaseSword
|
||||
{
|
||||
public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.CrushingBlow; } }
|
||||
public override WeaponAbility SecondaryAbility{ get{ return WeaponAbility.ArmorIgnore; } }
|
||||
|
||||
public override int AosStrengthReq{ get{ return 40; } }
|
||||
public override int AosMinDamage{ get{ return 16; } }
|
||||
public override int AosMaxDamage{ get{ return 18; } }
|
||||
public override int AosSpeed{ get{ return 35; } }
|
||||
public override float MlSpeed{ get{ return 3.50f; } }
|
||||
|
||||
public override int OldStrengthReq{ get{ return 40; } }
|
||||
public override int OldMinDamage{ get{ return 16; } }
|
||||
public override int OldMaxDamage{ get{ return 18; } }
|
||||
public override int OldSpeed{ get{ return 35; } }
|
||||
|
||||
public override int DefHitSound{ get{ return 0x23B; } }
|
||||
public override int DefMissSound{ get{ return 0x23A; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 250; } }
|
||||
public override int InitMaxHits{ get{ return 250; } }
|
||||
|
||||
private Mobile m_Owner;
|
||||
|
||||
[Constructable]
|
||||
public Tetsiga() : base( 0x27A2 )
|
||||
{
|
||||
this.Name = "-Tetsiga-";
|
||||
this.Hue = 1153;
|
||||
this.Weight = 10.0;
|
||||
this.Layer = Layer.OneHanded;
|
||||
this.Attributes.WeaponSpeed = 75;
|
||||
this.Attributes.SpellChanneling = 1;
|
||||
this.Attributes.WeaponDamage = 75;
|
||||
this.AosElementDamages.Chaos = 100;
|
||||
this.WeaponAttributes.HitLightning = 50;
|
||||
}
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (this.IsChildOf(from.Backpack))
|
||||
{
|
||||
// set owner if not already set -- this is only done the first time.
|
||||
if (m_Owner == null)
|
||||
{
|
||||
m_Owner = from;
|
||||
this.Name = m_Owner.Name.ToString() + "'s Sword";
|
||||
from.SendMessage("You feel the sword grow fond of you.");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_Owner != from)
|
||||
{
|
||||
from.SendMessage("Sorry but this sword does not belong to you.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
from.SendMessage(1173, "This sword must be in your pack to use.");
|
||||
}
|
||||
}
|
||||
|
||||
public override bool OnEquip(Mobile from)
|
||||
{
|
||||
// set owner if not already set -- this is only done the first time.
|
||||
if (m_Owner == null)
|
||||
{
|
||||
m_Owner = from;
|
||||
this.Name = m_Owner.Name.ToString() + "'s Sword";
|
||||
from.SendMessage("You feel the sword grow fond of you.");
|
||||
return base.OnEquip(from);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_Owner != from)
|
||||
{
|
||||
from.SendMessage("Sorry but this Sword does not belong to you.");
|
||||
return false;
|
||||
}
|
||||
|
||||
return base.OnEquip(from);
|
||||
}
|
||||
}
|
||||
public Tetsiga( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 ); // version
|
||||
|
||||
writer.Write(m_Owner); // Version 1
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
switch (version)
|
||||
{
|
||||
case 1:
|
||||
m_Owner = reader.ReadMobile();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
76
Scripts/Scripts-master/Items/Weapons/ToxicBow.cs
Normal file
76
Scripts/Scripts-master/Items/Weapons/ToxicBow.cs
Normal file
@@ -0,0 +1,76 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
using System.Collections;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
|
||||
using System.Linq;
|
||||
using VitaNex.FX;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ToxicBow : Katana
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 25; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.ArmorPierce; } }
|
||||
public override WeaponAbility SecondaryAbility{ get{ return WeaponAbility.DoubleShot; } }
|
||||
|
||||
public override WeaponAnimation DefAnimation{ get{ return WeaponAnimation.ShootBow; } }
|
||||
|
||||
[Constructable]
|
||||
public ToxicBow()
|
||||
{
|
||||
Name = "Toxic Bow";
|
||||
ItemID = 10149;
|
||||
Attributes.WeaponDamage = 60;
|
||||
WeaponAttributes.HitLeechStam = 58;
|
||||
WeaponAttributes.SelfRepair = 10;
|
||||
Attributes.BonusDex = 10;
|
||||
Attributes.WeaponSpeed = 35;
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.Luck = 250;
|
||||
MaxRange = 15;
|
||||
Hue = 1372;
|
||||
HitSound = 1140;
|
||||
MissSound = 517;
|
||||
WeaponAttributes.HitHarm = 60;
|
||||
}
|
||||
|
||||
public virtual void OnHit( Mobile attacker, Mobile defender )
|
||||
{
|
||||
new FireExplodeEffect(attacker, attacker.Map, 5, effectHandler: ExplosionDamage).Send();
|
||||
attacker.MovingEffect( defender, 4410, 3, 3, false, false );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
|
||||
public virtual void ExplosionDamage( EffectInfo info )
|
||||
{
|
||||
ArrayList list = new ArrayList();
|
||||
Effects.PlaySound(info.Source.Location, info.Map, 777);
|
||||
}
|
||||
|
||||
public ToxicBow( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
55
Scripts/Scripts-master/Items/Weapons/VampiresSoulBlade.cs
Normal file
55
Scripts/Scripts-master/Items/Weapons/VampiresSoulBlade.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
//Created by Script Creator
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
|
||||
{
|
||||
|
||||
public class VampiresSoulBlade : Kryss
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 666; } }
|
||||
public override int AosMinDamage{ get{ return 15; } }
|
||||
public override int AosMaxDamage{ get{ return 30; } }
|
||||
|
||||
[Constructable]
|
||||
public VampiresSoulBlade()
|
||||
{
|
||||
Weight = 0;
|
||||
Name = "Vampires Soul Blade";
|
||||
Hue = 1157;
|
||||
|
||||
WeaponAttributes.DurabilityBonus = 150;
|
||||
WeaponAttributes.HitHarm = 65;
|
||||
WeaponAttributes.HitLeechHits = 100;
|
||||
WeaponAttributes.SelfRepair = 10;
|
||||
|
||||
Attributes.AttackChance = 50;
|
||||
Attributes.BonusDex = 25;
|
||||
Attributes.DefendChance = 50;
|
||||
Attributes.NightSight = 1;
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.WeaponDamage = 25;
|
||||
Attributes.WeaponSpeed = 25;
|
||||
|
||||
}
|
||||
|
||||
public VampiresSoulBlade( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
50
Scripts/Scripts-master/Items/Weapons/WindStaff.cs
Normal file
50
Scripts/Scripts-master/Items/Weapons/WindStaff.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class WindStaff : BlackStaff
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 1337; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public WindStaff()
|
||||
{
|
||||
Name = "staff of the four winds";
|
||||
Attributes.WeaponDamage = 50;
|
||||
WeaponAttributes.HitLeechMana = 100;
|
||||
MaxRange = 5;
|
||||
Hue = 1150;
|
||||
HitSound = 21;
|
||||
MissSound = 20;
|
||||
}
|
||||
|
||||
public virtual void OnHit( Mobile attacker, Mobile defender )
|
||||
{
|
||||
attacker.MovingEffect( defender, 8902, 3, 3, false, false );
|
||||
defender.FixedParticles( 14120, 10, 30, 5052, EffectLayer.LeftFoot );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
|
||||
public WindStaff( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
55
Scripts/Scripts-master/Items/Weapons/WoodBardiche.cs
Normal file
55
Scripts/Scripts-master/Items/Weapons/WoodBardiche.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class WoodBardiche : Bardiche
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 100; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public WoodBardiche()
|
||||
{
|
||||
Name = "Bardiche of the woods";
|
||||
Attributes.WeaponDamage = 75;
|
||||
WeaponAttributes.HitFireball = 50;
|
||||
WeaponAttributes.HitDispel = 52;
|
||||
Attributes.AttackChance = 20;
|
||||
Attributes.DefendChance = 20;
|
||||
Attributes.Luck = 250;
|
||||
WeaponAttributes.UseBestSkill = 1;
|
||||
Attributes.SpellChanneling = 1;
|
||||
MaxRange = 2;
|
||||
Hue = 1872;
|
||||
HitSound = 553;
|
||||
MissSound = 554;
|
||||
}
|
||||
|
||||
public virtual void OnHit( Mobile attacker, Mobile defender )
|
||||
{
|
||||
attacker.MovingEffect( defender, 3329, 3, 3, false, false );
|
||||
defender.FixedParticles( 3381, 10, 30, 5052, EffectLayer.LeftFoot );
|
||||
base.OnHit( attacker, defender );
|
||||
}
|
||||
public WoodBardiche( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
50
Scripts/Scripts-master/Items/Weapons/WraithStunner.cs
Normal file
50
Scripts/Scripts-master/Items/Weapons/WraithStunner.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
//=================================================
|
||||
//This script was created by Gizmo's Uo Quest Maker
|
||||
//This script was created on 4/19/2019 1:33:48 PM
|
||||
//=================================================
|
||||
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class WraithStunner : Crossbow
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 5; } }
|
||||
public override int InitMinHits{ get{ return 75; } }
|
||||
public override int InitMaxHits{ get{ return 100; } }
|
||||
|
||||
[Constructable]
|
||||
public WraithStunner()
|
||||
{
|
||||
Name = "Wraith Stunner";
|
||||
Weight = 5;
|
||||
Attributes.BonusStr = 25;
|
||||
Attributes.WeaponDamage = 25;
|
||||
Attributes.ReflectPhysical = 20;
|
||||
Attributes.WeaponSpeed = 25;
|
||||
Attributes.RegenHits = 10;
|
||||
Attributes.RegenStam = 10;
|
||||
WeaponAttributes.HitLeechHits = 75;
|
||||
}
|
||||
|
||||
public WraithStunner( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
53
Scripts/Scripts-master/Items/Weapons/ZuesCannon.cs
Normal file
53
Scripts/Scripts-master/Items/Weapons/ZuesCannon.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
//Created by Script Creator
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
|
||||
{
|
||||
|
||||
public class ZuesCannon : CompositeBow
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 5050; } }
|
||||
public override int AosMinDamage{ get{ return 25; } }
|
||||
public override int AosMaxDamage{ get{ return 50; } }
|
||||
|
||||
[Constructable]
|
||||
public ZuesCannon()
|
||||
{
|
||||
Weight = 1;
|
||||
Name = "Zues Cannon";
|
||||
Hue = 1174;
|
||||
|
||||
WeaponAttributes.DurabilityBonus = 1000;
|
||||
WeaponAttributes.HitEnergyArea = 100;
|
||||
WeaponAttributes.HitLightning = 100;
|
||||
WeaponAttributes.SelfRepair = 10;
|
||||
|
||||
Attributes.AttackChance = 50;
|
||||
Attributes.BonusDex = 25;
|
||||
Attributes.BonusHits = 25;
|
||||
Attributes.DefendChance = 55;
|
||||
Attributes.SpellChanneling = 1;
|
||||
|
||||
}
|
||||
|
||||
public ZuesCannon( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user