Skip to content

Commit 15a048c

Browse files
authored
Update "Malice Doll of Demise"
Rework previous fix
1 parent 3ac66a4 commit 15a048c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

official/c72657739.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ function s.initial_effect(c)
1111
end
1212
function s.regop(e,tp,eg,ep,ev,re,r,rp)
1313
local c=e:GetHandler()
14-
local rc=re:GetHandler()
1514
if c:IsPreviousLocation(LOCATION_ONFIELD) and c:IsReason(REASON_EFFECT)
16-
and re:IsSpellEffect() and rc:IsContinuousSpell() then
15+
and re and re:IsSpellEffect() and re:GetHandler():IsContinuousSpell() then
1716
local e1=Effect.CreateEffect(c)
1817
e1:SetDescription(aux.Stringid(id,0))
1918
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)

0 commit comments

Comments
 (0)