meditation breaks antimagic if there is sustained spell

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
hops
Halfling
Posts: 111
Joined: Tue Sep 21, 2010 9:05 am

meditation breaks antimagic if there is sustained spell

#1 Post by hops »

Suggest that meditation only re-activates the wild-gift sustains, if antimagic is not going to be totally mutually exclusive with sustained spells . Plus, semantically meditation should not interference with non wild-gift sustains imho.

Code: Select all

--- a/game/modules/tome/data/talents/gifts/call.lua
+++ b/game/modules/tome/data/talents/gifts/call.lua
@@ -41,7 +41,10 @@ newTalent{
                -- Deactivate all sustains to get a real reduction
                local reset = {}
                for tid, act in pairs(self.sustain_talents) do
-                       if act then reset[#reset+1] = tid end
+                       local t = self:getTalentFromId(tid)
+                       if t.sustain_equilibrium then
+                               if act then reset[#reset+1] = tid end
+                       end
                end
                for i, tid in ipairs(reset) do
                        self:forceUseTalent(tid, {ignore_energy=true, ignore_cd=true, no_equilibrium_fail=true

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: meditation breaks antimagic if there is sustained spell

#2 Post by darkgod »

right :)
Fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply