Modernization Fixes & Updates to Default Values (#3)
This commit is contained in:
parent
445eddff68
commit
dcf64091b1
768 changed files with 10507 additions and 14196 deletions
|
|
@ -35,7 +35,7 @@ namespace Server.Items
|
|||
return;
|
||||
}
|
||||
|
||||
if (!from.CanBeginAction(typeof(GreenThorns)))
|
||||
if (!from.CanBeginAction<GreenThorns>())
|
||||
{
|
||||
from.LocalOverheadMessage(MessageType.Regular, 0x3B2,
|
||||
1061908); // * You must wait a while before planting another thorn. *
|
||||
|
|
@ -80,7 +80,7 @@ namespace Server.Items
|
|||
return;
|
||||
}
|
||||
|
||||
if (!from.CanBeginAction(typeof(GreenThorns)))
|
||||
if (!from.CanBeginAction<GreenThorns>())
|
||||
{
|
||||
from.LocalOverheadMessage(MessageType.Regular, 0x3B2,
|
||||
1061908); // * You must wait a while before planting another thorn. *
|
||||
|
|
@ -117,7 +117,7 @@ namespace Server.Items
|
|||
from.NonlocalOverheadMessage(MessageType.Emote, 0x961, 1061915,
|
||||
from.Name); // * ~1_PLAYER_NAME~ pushes a strange green thorn into the ground. *
|
||||
|
||||
from.BeginAction(typeof(GreenThorns));
|
||||
from.BeginAction<GreenThorns>();
|
||||
new EndActionTimer(from).Start();
|
||||
|
||||
effect.Start();
|
||||
|
|
@ -143,7 +143,7 @@ namespace Server.Items
|
|||
|
||||
protected override void OnTick()
|
||||
{
|
||||
m_From.EndAction(typeof(GreenThorns));
|
||||
m_From.EndAction<GreenThorns>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Server.Network;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class OrangePetals : Item
|
||||
{
|
||||
private static Hashtable m_Table = new Hashtable();
|
||||
private static Dictionary<Mobile, OrangePetalsContext> m_Table = new Dictionary<Mobile, OrangePetalsContext>();
|
||||
|
||||
[Constructible]
|
||||
public OrangePetals() : this(1)
|
||||
|
|
@ -137,4 +138,4 @@ namespace Server.Items
|
|||
public Timer Timer{ get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue