Пример #1
0
        //---------------------------------------------------------------------------------------------

        protected static void OnCastingSuccess(CastSpellInfo info)
        {
            if (info.Spell == StandardSpell.WallofStone || info.Spell == StandardSpell.EnergyField)//PF?
            {
                if (Game.Debug)
                {
                    Game.PrintMessage("Casting WallofStone SUCCESS");
                }

                Game.Wait(250);

                if (CalebConfig.UseWallTime)
                {
                    WallTimeKeeper.TryFoundAddWall();
                }
            }

            if (Game.Debug)
            {
                Game.PrintMessage("Casting SUCCESS");
            }

            if (CalebConfig.CastMessageType != MessagePrintType.None)
            {
                if (CalebConfig.CastMessageType == MessagePrintType.Default)
                {
                    World.Player.PrintMessage("[Ok]", Game.Val_GreenBlue);
                }
                else
                {
                    Game.PrintMessage("[Ok]", Game.Val_GreenBlue);
                }
            }
        }
Пример #2
0
        //---------------------------------------------------------------------------------------------

        protected static void OnCastingSuccess(CastSpellInfo info)
        {
            if (info.Spell == StandardSpell.WallofStone || info.Spell == StandardSpell.EnergyField)//PF?
            {
                if (Game.Debug)
                {
                    Game.PrintMessage("Casting WallofStone SUCCESS");
                }

                Game.Wait(250);

                if (CalebConfig.UseWallTime)
                {
                    WallTimeKeeper.TryFoundAddWall();
                }
            }

            if (Game.Debug)
            {
                Game.PrintMessage("Casting SUCCESS");
            }
        }