Skip to content

Commit c474e15

Browse files
authored
Update "Dragon Heart"
It was calling an effect code that doesn't exist
1 parent af47828 commit c474e15

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

unofficial/c511000441.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
--Dragon Heart
33
local s,id=GetID()
44
function s.initial_effect(c)
5-
--Activate
5+
--1 Dragon-Type monster you control gains 1000 ATK until the End Phase
66
local e1=Effect.CreateEffect(c)
7+
e1:SetDescription(aux.Stringid(id,0))
78
e1:SetCategory(CATEGORY_ATKCHANGE)
89
e1:SetType(EFFECT_TYPE_ACTIVATE)
910
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
@@ -30,7 +31,7 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
3031
e1:SetTargetRange(1,0)
3132
Duel.RegisterEffect(e1,tp)
3233
local e2=e1:Clone()
33-
e2:SetCode(EFFECT_CANNOT_SPSUMMON)
34+
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
3435
Duel.RegisterEffect(e2,tp)
3536
end
3637
function s.targetfilter(c)

0 commit comments

Comments
 (0)