public override void OnThink() { if (Controlled) { if (BodyMod != 0) { BaseMobileHelper.Return(this, m_Items); } return; } if (BodyMod != 0) { if (Utility.RandomDouble() < ReturnChance) { BaseMobileHelper.Return(this, m_Items); } } else { if (Utility.RandomDouble() < TurnChance) { InitOutfit(); BaseMobileHelper.Turn(this, m_Items, 0x190, Utility.RandomSkinHue(), NameList.RandomName("male"), "the mystic traveller", true); } } base.OnThink(); }
public override void OnThink() { if (Controlled || Combatant != null) { if (BodyMod != 0) { BaseMobileHelper.Return(this, m_Items); } return; } if (BodyMod != 0) { if (Utility.RandomDouble() < ReturnChance) { BaseMobileHelper.Return(this, m_Items); } } else { if (Utility.RandomDouble() < TurnChance) { InitOutfit(); BaseMobileHelper.Turn(this, m_Items, 0x190, Utility.RandomSkinHue(), null, "the mystic llamaherder", true); } } base.OnThink(); }