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

Firestorm can not hit the golem anymore

git-svn-id: http://svn.net-core.org/repos/t-engine4@3807 51575b47-30f0-44d4-a5cc-537603b46e54
parent f5b6d1e0
No related branches found
No related tags found
No related merge requests found
......@@ -519,6 +519,17 @@ newDamageType{
end,
}
-- Fore but not over minions
newDamageType{
name = "firey no friends", type = "FIRE_FRIENDS",
projector = function(src, x, y, type, dam)
local target = game.level.map(x, y, Map.ACTOR)
if target and target.summoner ~= src then
DamageType:get(DamageType.FIRE).projector(src, x, y, DamageType.FIRE, dam)
end
end,
}
-- Cold + Stun
newDamageType{
name = "coldstun", type = "COLDSTUN",
......
......@@ -102,7 +102,7 @@ newTalent{
require = spells_req3,
points = 5,
random_ego = "attack",
mana = 40,
mana = 70,
cooldown = 30,
range = 0,
radius = 3,
......@@ -116,7 +116,7 @@ newTalent{
-- Add a lasting map effect
game.level.map:addEffect(self,
self.x, self.y, t.getDuration(self, t),
DamageType.FIRE, t.getDamage(self, t),
DamageType.FIRE_FRIENDS, t.getDamage(self, t),
3,
5, nil,
{type="firestorm", only_one=true},
......@@ -134,6 +134,7 @@ newTalent{
local damage = t.getDamage(self, t)
local duration = t.getDuration(self, t)
return ([[A furious fire storm rages around the caster doing %0.2f fire damage in a radius of 3 each turn for %d turns.
You closely control the firestorm, preventing it from harming your party members.
The damage and duration will increase with the Magic stat]]):
format(damDesc(self, DamageType.FIRE, damage), duration)
end,
......
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