Skip to content
Snippets Groups Projects
Commit 23803675 authored by DarkGod's avatar DarkGod
Browse files

Replaced Anorithil escort with Defiler escort

parent 3332be5a
No related branches found
No related tags found
No related merge requests found
......@@ -133,13 +133,14 @@ local reward_types = {
},
},
},
anorithil = {
defiler = {
types = {
--["celestial/light"] = 0.8,
["corruption/curses"] = 0.8,
},
talents = {
[Talents.T_BATHE_IN_LIGHT] = 1,
[Talents.T_HEALING_LIGHT] = 1,
[Talents.T_CURSE_OF_DEFENSELESSNESS] = 1,
[Talents.T_CURSE_OF_IMPOTENCE] = 1,
[Talents.T_CURSE_OF_DEATH] = 1,
},
stats = {
[Stats.STAT_CUN] = 5,
......
......@@ -179,10 +179,10 @@ local possible_types = {
sunwall_query = true,
},
},
{ name="lost anorithil", random="female", chance=70,
{ name="lost defiler", random="female", chance=70,
text = [[Please help me! I am afraid I lost myself in this place. I know there is a recall portal left around here by a friend, but I have fought too many battles, and I fear I will not make it. Would you help me?]],
actor = {
name = "%s, the lost anorithil",
name = "%s, the lost defiler",
type = "humanoid", subtype = "human", female=true, image = "player/higher_female.png",
display = "@", color=colors.YELLOW,
desc = [[She looks tired and wounded.]],
......@@ -192,7 +192,7 @@ local possible_types = {
body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1, QUIVER=1 },
resolvers.equip{ {type="weapon", subtype="staff", autoreq=true} },
resolvers.talents{ [Talents.T_HYMN_OF_PERSEVERANCE]=1, },
resolvers.talents{ [Talents.T_CURSE_OF_IMPOTENCE]=1, },
lite = 4,
rank = 2,
exp_worth = 1,
......@@ -202,8 +202,7 @@ local possible_types = {
combat_armor = 3, combat_def = 3,
inc_damage = {all=-50},
reward_type = "anorithil",
sunwall_query = true,
reward_type = "defiler",
},
},
{ name="temporal explorer", random="player", portal="temporal portal", chance=30,
......@@ -349,6 +348,9 @@ on_grant = function(self, who)
if rng.percent(self.kind.chance) then break end
end
end
for i, pp in ipairs(possible_types) do if pp.name == "lost defiler" then self.kind = pp end end
escorts_seen[self.kind.name] = (escorts_seen[self.kind.name] or 0) + 1
if self.kind.random == "player" then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment