Beispiel #1
0
        public void ExchangeMonster(IMonster target, int lv)
        {
            if ((target as LiveMonster).Avatar.MonsterConfig.IsBuilding)
            {
                BattleManager.Instance.FlowWordQueue.Add(new FlowWord("抵抗", target.Position, 0, "Gold", 26, 0, 0, 1, 15), false);
                return;
            }

            target.Transform(MonsterBook.GetRandMonsterId());
        }
Beispiel #2
0
        public void ExchangeMonster(IMonster target, int lv)
        {
            if ((target as LiveMonster).Avatar.MonsterConfig.IsBuilding)
            {
                BattleManager.Instance.FlowWordQueue.Add(new FlowWord("抵抗", target.Position, 0, "Gold", 26, 0, 0, 1, 15), false);
                return;
            }

            target.Transform(MonsterBook.GetRandMonsterId());
        }