Skip to content
Snippets Groups Projects
Commit 977aa82e authored by Chris Davidson's avatar Chris Davidson
Browse files

Fix

parent 42d3040d
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ void main(void)
// Center Pixel
vec4 sample = vec4(0.0,0.0,0.0,0.0);
//float factor = ((float(blursize)*2.0)+1.0);
float factor = (float(blursize)+1)*(float(blursize)+1); factor = factor*factor;
float factor = (float(blursize)+1.0)*(float(blursize)+1.0); factor = factor*factor;
factor = factor*factor;
if (noisy < 0.25)
......
......@@ -114,16 +114,20 @@ newTalent{
return {
particle = self:addParticles(Particles.new("phantasm_shield", 1)),
onhit = self:addTemporaryValue("on_melee_hit", {[DamageType.LIGHT]=t.getDamage(self, t)}),
evasion = self:addTemporaryValue("evasion", 10),
}
end,
deactivate = function(self, t, p)
self:removeParticles(p.particle)
self:removeTemporaryValue("on_melee_hit", p.onhit)
self:removeTemporaryValue("evasion", p.evasion)
return true
end,
info = function(self, t)
local damage = t.getDamage(self, t)
return ([[The caster is surrounded by a phantasmal shield. If hit in melee, the shield will deal %d light damage to the attacker.
return ([[The caster is surrounded by a phantasmal shield granting 10%% chance to evade weapon attacks. If hit in melee, the shield will deal %d light damage to the attacker.
The damage will increase with your Spellpower.]]):
format(damDesc(self, DamageType.LIGHT, damage))
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