Skip to content
Snippets Groups Projects
Commit 14440384 authored by dg's avatar dg
Browse files

Norgos the Frozen should be a bit more dangerous

git-svn-id: http://svn.net-core.org/repos/t-engine4@6731 51575b47-30f0-44d4-a5cc-537603b46e54
parent b271359d
No related branches found
No related tags found
No related merge requests found
......@@ -1948,3 +1948,41 @@ newTalent{
return ([[The target will not react until attacked.]])
end,
}
newTalent{
name = "Frost Grab",
type = {"spell/other", 1},
points = 5,
mana = 19,
cooldown = 8,
range = 10,
tactical = { DISABLE = 1, CLOSEIN = 3 },
requires_target = true,
action = function(self, t)
local tg = {type="bolt", range=self:getTalentRange(t), talent=t}
local x, y = self:getTarget(tg)
if not x or not y then return nil end
local dam = self:spellCrit(self:combatTalentSpellDamage(t, 5, 140))
self:project(tg, x, y, function(px, py)
local target = game.level.map(px, py, engine.Map.ACTOR)
if not target then return end
target:pull(self.x, self.y, tg.range)
DamageType:get(DamageType.COLD).projector(self, target.x, target.y, DamageType.COLD, dam)
target:setEffect(target.EFF_SLOW_MOVE, math.floor(3 + self:getTalentLevel(t)), {apply_power=self:combatSpellpower(), power=0.5})
end)
game:playSoundNear(self, "talents/arcane")
return true
end,
info = function(self, t)
return ([[Grab a target and teleport it to your side, covering it with frost, reducing its movement speed by 50%% for %d turns.
The bone will also deal %0.2f physical damage.
The damage will increase with your Spellpower.]]):
format(math.floor(3 + self:getTalentLevel(t)), damDesc(self, DamageType.COLD, self:combatTalentSpellDamage(t, 5, 140)))
end,
}
......@@ -57,7 +57,7 @@ It seems to have fallen prey to the shivgoroth invading the area. Dead and froze
level_range = {7, nil}, exp_worth = 2,
max_life = 200, life_rating = 17, fixed_rating = true, life_regen = 0,
max_stamina = 85,
max_mana = 200,
max_mana = 1000, mana_regen = 10,
stats = { str=15, dex=15, cun=8, mag=20, wil=20, con=20 },
tier1 = true,
rank = 4,
......@@ -76,13 +76,13 @@ It seems to have fallen prey to the shivgoroth invading the area. Dead and froze
resolvers.drops{chance=100, nb=3, {tome_drops="boss"} },
resolvers.talents{
[Talents.T_FROST_GRAB]={base=1, every=6, max=6},
[Talents.T_ICE_STORM]={base=1, every=6, max=6},
[Talents.T_FROZEN_GROUND]={base=1, every=6, max=6},
},
autolevel = "caster",
ai = "tactical", ai_state = { talent_in=2, ai_move="move_astar", },
ai_tactic = resolvers.tactic"melee",
ai = "tactical", ai_state = { talent_in=1, ai_move="move_astar", },
on_die = function(self, who)
game.player:resolveSource():setQuestStatus("start-thaloren", engine.Quest.COMPLETED, "norgos")
......
......@@ -18,6 +18,7 @@
-- darkgod@te4.org
local layout = game.state:alternateZoneTier1(short_name, {"INVADED", 1})
layout="INVADED"
local is_invaded = layout == "INVADED"
return {
......
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