예제 #1
0
        public static void FlipStatue(BaseStatueDeed statue, int StatueID)
        {
            if (IsOdd(StatueID))
            {
                statue.StatueID = statue.StatueID + 1;
            }
            else
            {
                statue.StatueID = statue.StatueID - 1;
            }

            Statues.DirectionStatue(statue, statue.StatueID);
        }
예제 #2
0
        public BaseStatueDeed(int vStatueID, int vStatueColor, string vStatueMaterial, string vStatueMaker, string vStatueName)
        {
            Name   = "statue";
            ItemID = 0x32F0;
            Weight = 10;

            if (StatueID < 1)
            {
                StatueID       = vStatueID;
                StatueColor    = vStatueColor;
                StatueMaterial = vStatueMaterial;
                StatueMaker    = vStatueMaker;
                StatueName     = vStatueName;
                Hue            = StatueColor;
                Name           = StatueName;
            }

            Statues.DirectionStatue(this, StatueID);
            StatueName = Name;
        }