private void Fight() { FightBehavior fight = selectedWO.Owner.FindComponent <FightBehavior>(); if (fight != null) { WorldObject wo = currentMobile; if (wo == null) { wo = currentWO; } SendCommand(fight, wo, false); } }
private void Fight() { FightBehavior fight = selectedWO.Owner.FindComponent <FightBehavior>(); if (fight != null) { WorldObject wo = currentMobile; if (wo == null) { wo = currentWO; } fight.SetRival(wo); } }