Thread: 'Skip' Effects don't work
-
January 7th, 2018, 18:50 #1
'Skip' Effects don't work
Because there's a bug in the script manager_effect_35E.lua:
Code:function onEffectActorStartTurn(nodeActor, nodeEffect) local sEffName = DB.getValue(nodeEffect, "label", ""); local aEffectComps = EffectManager.parseEffect(sEffName); for _,sEffectComp in ipairs(aEffectComps) do local rEffectComp = parseEffectComp(sEffectComp); -- Conditionals if rEffectComp.type == "IFT" then break; elseif rEffectComp.type == "IF" then local rActor = ActorManager.getActorFromCT(nodeActor); if not checkConditional(rActor, nodeEffect, rEffectComp.remainder) then break; end -- Ongoing damage, fast healing and regeneration elseif rEffectComp.type == "DMGO" or rEffectComp.type == "FHEAL" or rEffectComp.type == "REGEN" then if nActive == 2 then DB.setValue(nodeEffect, "isactive", "number", 1); else applyOngoingDamageAdjustment(nodeActor, nodeEffect, rEffectComp); end end end end
Code:function onEffectActorStartTurn(nodeActor, nodeEffect) local sEffName = DB.getValue(nodeEffect, "label", ""); local aEffectComps = EffectManager.parseEffect(sEffName); for _,sEffectComp in ipairs(aEffectComps) do local rEffectComp = parseEffectComp(sEffectComp); -- Conditionals if rEffectComp.type == "IFT" then break; elseif rEffectComp.type == "IF" then local rActor = ActorManager.getActorFromCT(nodeActor); if not checkConditional(rActor, nodeEffect, rEffectComp.remainder) then break; end -- Ongoing damage, fast healing and regeneration elseif rEffectComp.type == "DMGO" or rEffectComp.type == "FHEAL" or rEffectComp.type == "REGEN" then local nActive = DB.getValue(nodeEffect, "isactive", 0); if nActive == 2 then DB.setValue(nodeEffect, "isactive", "number", 1); else applyOngoingDamageAdjustment(nodeActor, nodeEffect, rEffectComp); end end end end
-
January 7th, 2018, 21:32 #2
Regen is reported to be fixed in the beta release. Haven't tested it, I ***-u-me it's this issue.
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
January 11th, 2018, 03:22 #3
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,566
Thanks for reporting. It was already fixed in v3.3.4; but I appreciate the report and specifics so I could double-check.
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks