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

Last Stand sets life to 1 if it was below 0

Its too easy to kill yourself with this now that it auto deactivates, and I'm not worried about buffing this class.
parent 3b63eb87
No related branches found
No related tags found
1 merge request!6001.6.5 misc
......@@ -357,6 +357,7 @@ newTalent{
self:removeTemporaryValue("never_move", p.nomove)
self:removeTemporaryValue("die_at", p.dieat)
self:removeTemporaryValue("life", p.extra_life)
if self.life <= 0 then self.life = 1 end -- Don't kill players on deactivation, this does let you use die_at tricks to heal though
return true
end,
info = function(self, t)
......@@ -368,6 +369,7 @@ newTalent{
end
return ([[You brace yourself for the final stand, increasing Defense and Armor by %d, maximum and current life by %d, but making you unable to move.
Your stand lets you concentrate on every blow, allowing you to avoid death from normally fatal wounds. You can only die when reaching -%d life.
If your life is below 0 when Last Stand ends it will be set to 1.
The increase in Defense and Armor is based on your Dexterity, and the increase in life is based on your Constitution and normal maximum life.]]):
format(t.getDefense(self, t), hp, hp)
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