Mjmackan
Mapper ~ Writer
Doing a protection spell-type of thing, can't find anything similiar, someone up to help?
Below doesn't seem to work, any ideas? Its suppose to protect X(storage) percent protection.
Below doesn't seem to work, any ideas? Its suppose to protect X(storage) percent protection.
LUA:
function updateHolyProtection(player) --fully solved
local holyTalent = Condition(CONDITION_ATTRIBUTES)
holyTalent:setParameter(CONDITION_PARAM_SUBID, 50014)
holyTalent:setParameter(COMBAT_HOLYDAMAGE, (player:getStorageValue(50014)))
holyTalent:setParameter(CONDITION_PARAM_TICKS, -1)
player:addCondition(holyTalent)
end