Commit 4b6299ae2314b6aabb4230f28c32e334c5dabbe4
1 parent
e4e19266
fix
git-svn-id: http://svn.net-core.org/repos/t-engine4@4940 51575b47-30f0-44d4-a5cc-537603b46e54
Showing
1 changed file
with
3 additions
and
3 deletions
... | ... | @@ -324,7 +324,7 @@ newTalent{ |
324 | 324 | return math.floor(6 + self:getTalentLevel(t) * 2) |
325 | 325 | end, |
326 | 326 | getAttackSpeed = function(self, t) |
327 | - return math.floor(60 + (math.sqrt(self:getTalentLevel(t)) - 1) * 60) | |
327 | + return math.min(1.6, 0.4 + self:getTalentLevel(t)/5) | |
328 | 328 | end, |
329 | 329 | action = function(self, t) |
330 | 330 | local inven = self:getInven("INVEN") |
... | ... | @@ -386,7 +386,7 @@ newTalent{ |
386 | 386 | stats = { str=20, dex=20, mag=10, con=10 }, |
387 | 387 | combat = { dam=1, atk=1, apr=1 }, |
388 | 388 | combat_armor = 100, combat_def = 50, |
389 | - combat_physspeed = 100 / t.getAttackSpeed(self, t), | |
389 | + combat_physspeed = t.getAttackSpeed(self, t), | |
390 | 390 | infravision = 10, |
391 | 391 | |
392 | 392 | resists = { all = 75, }, |
... | ... | @@ -466,7 +466,7 @@ newTalent{ |
466 | 466 | end, |
467 | 467 | info = function(self, t) |
468 | 468 | local duration = t.getDuration(self, t) |
469 | - local attackSpeed = t.getAttackSpeed(self, t) | |
469 | + local attackSpeed = 100/t.getAttackSpeed(self, t) | |
470 | 470 | |
471 | 471 | return ([[Instill a part of your living curse into a weapon in your inventory and toss it nearby. This nearly impervious sentry will attack all nearby enemies for %d turns. When the curse ends the weapon will crumble to dust. Attack Speed: %d%%]]):format(duration, attackSpeed) |
472 | 472 | end, | ... | ... |
-
Please register or login to post a comment