Any one have an idea?
I thought maybe I could use something like..
reqs = function() tonumber(gmcp.Char.Vitals.spark > 5) then return true end,
in my defense tracking but im unsure how to put that into my defup :/
can I use that in the code?? and just run deftoputup.reqs() like I would a script?icesteruk wrote:reqs = function() tonumber(gmcp.Char.Vitals.spark > 5) then return true end,
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> myTable={}
> myTable.reqs = function() return (hasSkill("ReflexiveDiversion") and hasSkill("Dodging") ) end
> function hasSkill(str)
>> return false
>> end
> print(myTable.reqs())
false
>