Good memory, I use AE + AoO. I want to try out straininjury someday, but it seems weird to switch mid-campaign. I was wondering what you were doing with the health boxes, actually. Whatever it is appears to be the whole reason you have a campaign subfolder:
Code:
function onInit()
if super.super.onInit then
super.super.onInit();
end
OptionsManager.registerCallback("WNDC", onValueChanged);
onValueChanged();
end
function onClose()
OptionsManager.unregisterCallback("WNDC", onValueChanged);
end
function onDrop(x, y, draginfo)
if draginfo.getType() == "number" then
local rActor = ActorManager.getActor("pc", window.getDatabaseNode());
local rRoll = {};
rRoll.bSecret = false;
rRoll.sType = "number";
rRoll.sDesc = draginfo.getDescription() .. " [TYPE: nonlethal]";
rRoll.nMod = draginfo.getNumberData();
rRoll.aDice = {nil, {result = 0}};
ActionDamage.onDamage(nil, rActor, rRoll);
end
return true;
end
I released an updated version so it doesn't conflict anymore :)