Skip to content
Snippets Groups Projects
Commit 407ffb83 authored by DarkGod's avatar DarkGod
Browse files

fixed ogre fury

parent 425a88e3
No related branches found
No related tags found
No related merge requests found
......@@ -946,9 +946,9 @@ function _M:removeTemporaryValue(prop, id, noupdate)
else
if config.settings.cheat then
if type(v) == "nil" then
error("ERROR!!! unsupported temporary value type: "..type(v).." :=: "..tostring(v))
error("ERROR!!! unsupported temporary value type: "..type(v).." :=: "..tostring(v).." for "..tostring(prop))
else
error("unsupported temporary value type: "..type(v).." :=: "..tostring(v))
error("unsupported temporary value type: "..type(v).." :=: "..tostring(v).." for "..tostring(prop))
end
end
end
......
......@@ -3364,8 +3364,8 @@ newEffect{
parameters = { stacks=1, max_stacks=5 },
charges = function(self, eff) return eff.stacks end,
do_effect = function(self, eff, add)
if eff.cdam then self:removeTemporaryValue("combat_critical_power", eff.cdam) end
if eff.crit then self:removeTemporaryValue("combat_generic_crit", eff.crit) end
if eff.cdam then self:removeTemporaryValue("combat_critical_power", eff.cdam) eff.cdam = nil end
if eff.crit then self:removeTemporaryValue("combat_generic_crit", eff.crit) eff.crit = nil end
if add then
eff.cdam = self:addTemporaryValue("combat_critical_power", eff.stacks * 20)
eff.crit = self:addTemporaryValue("combat_generic_crit", eff.stacks * 5)
......@@ -3396,7 +3396,7 @@ newEffect{
if eff.stacks > 1 and eff.dur <= 1 then
eff.stacks = eff.stacks - 1
eff.dur = 7
e.do_effect(self, eff, false)
e.do_effect(self, eff, true)
end
end
}
......
......@@ -6,7 +6,7 @@ if test -n "$2"; then
fi
rm $name.ogv $name.avi
recordmydesktop --windowid $1 --fps 50 --full-shots --device pulse -o $name.ogv
recordmydesktop --windowid $1 --fps 30 --full-shots --device pulse -o $name.ogv
avconv -i $name.ogv -qscale 1 $name.avi
# mencoder $name.ogv -ovc xvid -oac mp3lame -xvidencopts pass=1 -o $name.avi
......
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