From 580aac4aef82121283812986a45e07c1dc9369e0 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Thu, 6 Dec 2012 10:45:47 +0000
Subject: [PATCH] Anorithil and Sun Paladin patrols can be fought

git-svn-id: http://svn.net-core.org/repos/t-engine4@5945 51575b47-30f0-44d4-a5cc-537603b46e54
---
 .../data/general/encounters/fareast-npcs.lua  | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/game/modules/tome/data/general/encounters/fareast-npcs.lua b/game/modules/tome/data/general/encounters/fareast-npcs.lua
index ad8adcbefa..d950d29043 100644
--- a/game/modules/tome/data/general/encounters/fareast-npcs.lua
+++ b/game/modules/tome/data/general/encounters/fareast-npcs.lua
@@ -29,6 +29,20 @@ newEntity{
 	rarity = 3,
 	unit_power = 10,
 	ai = "world_patrol", ai_state = {route_kind="sunwall"},
+	on_encounter = {
+		type="ambush",
+		width=14,
+		height=14,
+		nb={3, 4},
+		filters={{special_rarity="humanoid_random_boss", subtype="human", random_boss={
+			nb_classes=1, force_classes = {['Sun Paladin']=true},
+			rank=3, ai = "tactical",
+			life_rating=function(v) return v * 1.4 + 3 end,
+			loot_quality = "store",
+			loot_quantity = 1,
+			no_loot_randart = true,
+		}}}
+	},
 }
 
 newEntity{
@@ -41,6 +55,20 @@ newEntity{
 	rarity = 3,
 	unit_power = 10,
 	ai = "world_patrol", ai_state = {route_kind="sunwall"},
+	on_encounter = {
+		type="ambush",
+		width=14,
+		height=14,
+		nb={3, 4},
+		filters={{special_rarity="humanoid_random_boss", subtype="shalore", random_boss={
+			nb_classes=1, force_classes = {['Anorithil']=true},
+			rank=3, ai = "tactical",
+			life_rating=function(v) return v * 1.4 + 3 end,
+			loot_quality = "store",
+			loot_quantity = 1,
+			no_loot_randart = true,
+		}}}
+	},
 }
 
 newEntity{
-- 
GitLab