Exemplo n.º 1
0
		void CastDistractingPain(WorldObject owner)
		{
			var chr = owner.GetNearbyRandomHostileCharacter();
			if (chr != null)
			{
				owner.SpellCast.Start(distractingPain, false, chr);
				m_owner.Idle(1000);	// idle a little after casting a spell
			}
		}
Exemplo n.º 2
0
			void CastDecrepify(WorldObject owner)
			{

				//owner.Yell("Hi");

				Character chr = owner.GetNearbyRandomHostileCharacter(); //TODO: Work out why this was commented out and replaced with a test string

				if (chr != null)
				{
				    m_owner.SpellCast.Start(decrepify, false, chr);
				}

			}