Example #1
0
        private void Fight()
        {
            FightBehavior fight = selectedWO.Owner.FindComponent <FightBehavior>();

            if (fight != null)
            {
                WorldObject wo = currentMobile;
                if (wo == null)
                {
                    wo = currentWO;
                }

                SendCommand(fight, wo, false);
            }
        }
Example #2
0
        private void Fight()
        {
            FightBehavior fight = selectedWO.Owner.FindComponent <FightBehavior>();

            if (fight != null)
            {
                WorldObject wo = currentMobile;
                if (wo == null)
                {
                    wo = currentWO;
                }

                fight.SetRival(wo);
            }
        }