- house commit has inappropiate cost for certain parts
http://www.uodemise.com/forum/showthread.php?t=136453
- houses should not be placable on roads
http://www.uodemise.com/forum/showthread.php?t=139597
Bushido
- lightning strike should consume extra mana if player walks
http://www.uodemise.com/forum/showthread.php?t=127699
Weapons
- frenzied whirlwind should properly flag combatants.
http://www.uodemise.com/forum/showthread.php?t=138625
Magery
- PolyMorph should not turn the caster grey/criminal
http://www.uodemise.com/forum/showthread.php?t=116438
- Paralyze should interfere in casting paladin spells.
http://www.uodemise.com/forum/showthread.php?t=120742
Spellweaving
- Ethereal Voyage should not break when attempting to tame dragons, nightmares, etc.
http://www.uodemise.com/forum/showthread.php?t=135349
Misc
- refactor DrawRessource() to DrawResource()
http://www.uodemise.com/forum/showthread.php?t=127202
- random blood "spatter" itemid during combat: more visible blood.
http://www.uodemise.com/forum/showthread.php?t=140092
Taming
- Animal lore should check for skill modifiers when using lore on mobiles.
http://www.uodemise.com/forum/showthread.php?t=140658
Necromany
- Wraithform should allow push-through without stam loss always.
http://www.uodemise.com/forum/showthread.php?t=117126
- Wraithform mana leech should not lower the victim's mana + small cleanup to spellhelper.doleech()
http://www.uodemise.com/forum/showthread.php?t=120238
Chivalry
- Noble Sacrifice should work in houses. RunUO's does not.
http://www.uodemise.com/forum/showthread.php?t=122819
NCP Vendors
- Add necro regs for vendors to buy from players.
http://www.uodemise.com/forum/showthread.php?t=136435
57 lines
No EOL
1 KiB
C#
57 lines
No EOL
1 KiB
C#
using System;
|
|
using Server;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class Blood : Item
|
|
{
|
|
[Constructable]
|
|
public Blood() : this( Utility.RandomList( 0x1645, 0x122A, 0x122B, 0x122C, 0x122D, 0x122E, 0x122F ))
|
|
{
|
|
}
|
|
|
|
[Constructable]
|
|
public Blood( int itemID ) : base( itemID )
|
|
{
|
|
Movable = false;
|
|
|
|
new InternalTimer( this ).Start();
|
|
}
|
|
|
|
public Blood( Serial serial ) : base( serial )
|
|
{
|
|
new InternalTimer( this ).Start();
|
|
}
|
|
|
|
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();
|
|
}
|
|
|
|
private class InternalTimer : Timer
|
|
{
|
|
private Item m_Blood;
|
|
|
|
public InternalTimer( Item blood ) : base( TimeSpan.FromSeconds( 5.0 ) )
|
|
{
|
|
Priority = TimerPriority.OneSecond;
|
|
|
|
m_Blood = blood;
|
|
}
|
|
|
|
protected override void OnTick()
|
|
{
|
|
m_Blood.Delete();
|
|
}
|
|
}
|
|
}
|
|
} |