last tweaks. timer doesnt always allow enough time for animation, additional OSI hue.
This commit is contained in:
parent
37e3592c04
commit
e4ea188578
2 changed files with 11 additions and 5 deletions
|
|
@ -29,10 +29,11 @@ namespace Server.Items
|
|||
0x851,
|
||||
0x503,
|
||||
0xb8c,
|
||||
0x4ab
|
||||
0x4ab,
|
||||
0x84B
|
||||
};
|
||||
private static readonly int[] m_NeonHues =
|
||||
{
|
||||
{
|
||||
0x438,
|
||||
0x424,
|
||||
0x433,
|
||||
|
|
@ -71,6 +72,7 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class GiftBoxCube : BaseContainer
|
||||
{
|
||||
public override int DefaultGumpID { get { return 0x11B; } }
|
||||
|
|
@ -99,6 +101,7 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class GiftBoxCylinder : BaseContainer
|
||||
{
|
||||
public override int DefaultGumpID { get { return 0x11C; } }
|
||||
|
|
@ -127,6 +130,7 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class GiftBoxOctogon : BaseContainer
|
||||
{
|
||||
public override int DefaultGumpID { get { return 0x11D; } }
|
||||
|
|
@ -155,6 +159,7 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
public class GiftBoxAngel : BaseContainer
|
||||
{
|
||||
public override int DefaultGumpID { get { return 0x11F; } }
|
||||
|
|
@ -183,6 +188,7 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
|
||||
[Flipable(0x232A, 0x232B)]
|
||||
public class GiftBoxNeon : BaseContainer
|
||||
{
|
||||
|
|
@ -212,4 +218,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -49,7 +49,7 @@ namespace Server.Items
|
|||
if (freeze)
|
||||
{
|
||||
m.Frozen = freeze;
|
||||
Timer.DelayCall(TimeSpan.FromSeconds((message==1095162) ? 2.25 : 1.25), new TimerStateCallback(EndFall_Callback), m);
|
||||
Timer.DelayCall(TimeSpan.FromSeconds((message==1095162) ? 2.0 : 1.25), new TimerStateCallback(EndFall_Callback), m);
|
||||
}
|
||||
|
||||
m.SendLocalizedMessage(message);
|
||||
|
|
@ -76,7 +76,7 @@ namespace Server.Items
|
|||
}
|
||||
if (arg != null)
|
||||
{
|
||||
Timer.DelayCall(TimeSpan.FromSeconds(.25), new TimerStateCallback(BeginFall_Callback), arg);
|
||||
Timer.DelayCall(TimeSpan.FromSeconds(.4), new TimerStateCallback(BeginFall_Callback), arg);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue