Hydra with Grand Arrival bug

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
necronomist
Wayist
Posts: 25
Joined: Fri Dec 30, 2011 9:25 pm

Hydra with Grand Arrival bug

#1 Post by necronomist »

Another small bug I found when looking at the code.

Hydra with Grand Arrival also applies the Grand Arrival effect of the Ritch Flamespitter (ie both the poison cloud and the burst that lowers fire resist). The code reads:
on_arrival = function(self, t, m)
local tg = {type="ball", range=self:getTalentRange(t), radius=self:getTalentRadius(t), talent=t, x=m.x, y=m.y}
self:project(tg, m.x, m.y, DamageType.TEMP_EFFECT, {foes=true, eff=self.EFF_LOWER_FIRE_RESIST, dur=4+self:getTalentLevelRaw(t), p={power=self:combatTalentMindDamage(t, 15, 70)}}, {type="flame"})
game.level.map:addEffect(self,
m.x, m.y, 6,
DamageType.POISON, self:combatTalentMindDamage(t, 10, 40),
self:getTalentRadius(t),
5, nil,
{type="vapour"},
nil, false
)

Post Reply