Commit 4e5fc669796cc078da824187dc9b634bac1e8e1d
1 parent
d510d196
Psionic Grip/Bind is now a pin effect as the description suggests
git-svn-id: http://svn.net-core.org/repos/t-engine4@5151 51575b47-30f0-44d4-a5cc-537603b46e54
Showing
2 changed files
with
5 additions
and
8 deletions
... | ... | @@ -125,7 +125,7 @@ newTalent{ |
125 | 125 | end, |
126 | 126 | getDamage = function (self, t) |
127 | 127 | local gem_level = getGemLevel(self) |
128 | - return self:combatStatTalentIntervalDamage(t, "combatMindpower", 100, 150, 0.25)*(1 + 0.1*gem_level) | |
128 | + return self:combatStatTalentIntervalDamage(t, "combatMindpower", 60, 120, 0.25)*(1 + 0.1*gem_level) | |
129 | 129 | end, |
130 | 130 | requires_target = true, |
131 | 131 | target = function(self, t) return {type="ball", range=self:getTalentRange(t), radius=0, selffire=false, talent=t} end, | ... | ... |
... | ... | @@ -1366,25 +1366,22 @@ newEffect{ |
1366 | 1366 | } |
1367 | 1367 | |
1368 | 1368 | newEffect{ |
1369 | - name = "PSIONIC_BIND", image = "effects/psionic _bind.png", | |
1369 | + name = "PSIONIC_BIND", image = "effects/psionic_bind.png", | |
1370 | 1370 | desc = "Immobilized", |
1371 | 1371 | long_desc = function(self, eff) return "Immobilized by telekinetic forces." end, |
1372 | 1372 | type = "physical", |
1373 | - subtype = { telekinesis=true, stun=true }, | |
1373 | + subtype = { telekinesis=true, pin=true }, | |
1374 | 1374 | status = "detrimental", |
1375 | 1375 | parameters = {}, |
1376 | 1376 | on_gain = function(self, err) return "#F53CBE##Target# is bound by telekinetic forces!", "+Paralyzed" end, |
1377 | 1377 | on_lose = function(self, err) return "#Target# shakes free of the telekinetic binding", "-Paralyzed" end, |
1378 | 1378 | activate = function(self, eff) |
1379 | 1379 | --eff.particle = self:addParticles(Particles.new("gloom_stunned", 1)) |
1380 | - eff.tmpid = self:addTemporaryValue("paralyzed", 1) | |
1381 | - -- Start the stun counter only if this is the first stun | |
1382 | - if self.paralyzed == 1 then self.paralyzed_counter = (self:attr("stun_immune") or 0) * 100 end | |
1380 | + eff.tmpid = self:addTemporaryValue("never_move", 1) | |
1383 | 1381 | end, |
1384 | 1382 | deactivate = function(self, eff) |
1385 | 1383 | --self:removeParticles(eff.particle) |
1386 | - self:removeTemporaryValue("paralyzed", eff.tmpid) | |
1387 | - if not self:attr("paralyzed") then self.paralyzed_counter = nil end | |
1384 | + self:removeTemporaryValue("never_move", eff.tmpid) | |
1388 | 1385 | end, |
1389 | 1386 | } |
1390 | 1387 | ... | ... |
-
Please register or login to post a comment