Skip to content
Snippets Groups Projects
Commit c5057074 authored by Lisa Greene's avatar Lisa Greene
Browse files

Changed spider's grand arrival effect

parent 122d9ac8
No related branches found
No related tags found
2 merge requests!543Summoner Tweaks,!539Summoner Tweaks
......@@ -69,7 +69,6 @@ newTalent{
resReduction = function(self, t) return self:combatTalentMindDamage(t, 15, 70) end,
amtHealing = function(self, t) return 30 + self:combatTalentMindDamage(t, 10, 350) end,
slowStrength = function(self, t) return self:combatLimit(self:combatTalentMindDamage(t, 5, 500), 1, 0.1, 0, 0.47 , 369) end, -- Limit speed loss to <100%
knockbackDist = function(self, t) return 1+self:getTalentLevelRaw(t) end,
info = function(self, t)
local radius = self:getTalentRadius(t)
return ([[While Master Summoner is active, when a creature you summon appears in the world, it will trigger a wild effect:
......@@ -82,7 +81,7 @@ newTalent{
- Minotaur: Reduces movement speed of all foes in a radius by %d%%
- Stone Golem: Dazes all foes in a radius
- Turtle: Heals all friendly targets in a radius %d HP
- Spider: Repels all foes %d tiles
- Spider: Pins all foes in a radius
Radius for effects is %d, and the duration of each lasting effect is %d turns.
The effects improve with your Willpower.]]):format(t.resReduction(self, t), t.poisonDamage(self,t), t.resReduction(self, t), t.nbEscorts(self, t), t.resReduction(self, t), t.resReduction(self, t), t.slowStrength(self,t), t.amtHealing(self,t), t.knockbackDist(self,t), radius, t.effectDuration(self, t))
end,
......
......@@ -244,9 +244,9 @@ newTalent{
end, nil, {type="flame"})
end,
on_arrival = function(self, t, m)
local tg = {type="ball", range=self:getTalentRange(t), radius=self:getTalentRadius(t), friendlyfire=false, talent=t, x=m.x, y=m.y}
local knockback = self:callTalent(self.T_GRAND_ARRIVAL,"knockbackDist")
self:project(tg, m.x, m.y, DamageType.FEARKNOCKBACK, {dist=knockback, x=m.x, y=m.y}, {type="acid"})
local tg = {type="ball", range=self:getTalentRange(t), radius=self:getTalentRadius(t), talent=t, x=m.x, y=m.y}
local duration = self:callTalent(self.T_GRAND_ARRIVAL,"effectDuration")
self:project(tg, m.x, m.y, DamageType.TEMP_EFFECT, {foes=true, eff=self.EFF_PINNED, check_immune="pin", dur=duration, p={}}, {type="slime"})
end,
summonTime = function(self, t) return math.floor(self:combatScale(self:getTalentLevel(t), 5, 0, 10, 5)) + self:callTalent(self.T_RESILIENCE, "incDur") end,
incStats = function(self, t,fake)
......
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