Showing
3 changed files
with
6 additions
and
6 deletions
... | ... | @@ -946,9 +946,9 @@ function _M:removeTemporaryValue(prop, id, noupdate) |
946 | 946 | else |
947 | 947 | if config.settings.cheat then |
948 | 948 | if type(v) == "nil" then |
949 | - error("ERROR!!! unsupported temporary value type: "..type(v).." :=: "..tostring(v)) | |
949 | + error("ERROR!!! unsupported temporary value type: "..type(v).." :=: "..tostring(v).." for "..tostring(prop)) | |
950 | 950 | else |
951 | - error("unsupported temporary value type: "..type(v).." :=: "..tostring(v)) | |
951 | + error("unsupported temporary value type: "..type(v).." :=: "..tostring(v).." for "..tostring(prop)) | |
952 | 952 | end |
953 | 953 | end |
954 | 954 | end | ... | ... |
... | ... | @@ -3364,8 +3364,8 @@ newEffect{ |
3364 | 3364 | parameters = { stacks=1, max_stacks=5 }, |
3365 | 3365 | charges = function(self, eff) return eff.stacks end, |
3366 | 3366 | do_effect = function(self, eff, add) |
3367 | - if eff.cdam then self:removeTemporaryValue("combat_critical_power", eff.cdam) end | |
3368 | - if eff.crit then self:removeTemporaryValue("combat_generic_crit", eff.crit) end | |
3367 | + if eff.cdam then self:removeTemporaryValue("combat_critical_power", eff.cdam) eff.cdam = nil end | |
3368 | + if eff.crit then self:removeTemporaryValue("combat_generic_crit", eff.crit) eff.crit = nil end | |
3369 | 3369 | if add then |
3370 | 3370 | eff.cdam = self:addTemporaryValue("combat_critical_power", eff.stacks * 20) |
3371 | 3371 | eff.crit = self:addTemporaryValue("combat_generic_crit", eff.stacks * 5) |
... | ... | @@ -3396,7 +3396,7 @@ newEffect{ |
3396 | 3396 | if eff.stacks > 1 and eff.dur <= 1 then |
3397 | 3397 | eff.stacks = eff.stacks - 1 |
3398 | 3398 | eff.dur = 7 |
3399 | - e.do_effect(self, eff, false) | |
3399 | + e.do_effect(self, eff, true) | |
3400 | 3400 | end |
3401 | 3401 | end |
3402 | 3402 | } | ... | ... |
... | ... | @@ -6,7 +6,7 @@ if test -n "$2"; then |
6 | 6 | fi |
7 | 7 | |
8 | 8 | rm $name.ogv $name.avi |
9 | -recordmydesktop --windowid $1 --fps 50 --full-shots --device pulse -o $name.ogv | |
9 | +recordmydesktop --windowid $1 --fps 30 --full-shots --device pulse -o $name.ogv | |
10 | 10 | avconv -i $name.ogv -qscale 1 $name.avi |
11 | 11 | |
12 | 12 | # mencoder $name.ogv -ovc xvid -oac mp3lame -xvidencopts pass=1 -o $name.avi | ... | ... |
-
Please register or login to post a comment