Пример #1
0
		private static void UnworthyInitiateActivated(NPC npc)
		{
			npc.StandState = StandState.Kneeling;
			npc.AddMessage(
				() =>
					{
						var nearest = npc.GetNearbyNPC(NPCId.UnworthyInitiateAnchor, 7);
						if (nearest == null) return;
						nearest.SpellCast.Trigger(SpellId.ChainedPeasantChest, npc);
					});
		}
Пример #2
0
		private static void NewAvalonSiphonMarkersActivated(NPC npc)
		{
			npc.UnitFlags &= ~UnitFlags.SelectableNotAttackable;
			npc.AddMessage(() =>
			               	{
			               		npc.SpellCast.TriggerSelf(SpellId.VisualFlash);
			               	});
		}