diff --git a/unofficial/c511001391.lua b/unofficial/c511001391.lua index 947083a8f7..541f760d54 100644 --- a/unofficial/c511001391.lua +++ b/unofficial/c511001391.lua @@ -16,10 +16,10 @@ function s.initial_effect(c) c:RegisterEffect(e2) --Tribute 1 monster or destroy this card local e3=Effect.CreateEffect(c) - e3:SetDescription(aux.Stringid(78371393,1)) + e3:SetDescription(aux.Stringid(id,0)) e3:SetCategory(CATEGORY_RELEASE+CATEGORY_DESTROY) e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) - e3:SetCode(EVENT_PHASE+PHASE_END) + e3:SetCode(EVENT_PHASE|PHASE_END) e3:SetRange(LOCATION_MZONE) e3:SetCountLimit(1) e3:SetCondition(s.descon) @@ -28,11 +28,10 @@ function s.initial_effect(c) c:RegisterEffect(e3) --Special Summon "Yubel - Terror Incarnate" if destroyed local e4=Effect.CreateEffect(c) - e4:SetDescription(aux.Stringid(78371393,3)) + e4:SetDescription(aux.Stringid(id,2)) e4:SetCategory(CATEGORY_SPECIAL_SUMMON) e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e4:SetCode(EVENT_DESTROYED) - e4:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e4:SetCondition(s.spcon) e4:SetTarget(s.sptg) e4:SetOperation(s.spop) @@ -53,7 +52,7 @@ end function s.desop(e,tp,eg,ep,ev,re,r,rp) local c=e:GetHandler() if c:IsFacedown() or not c:IsRelateToEffect(e) then return end - if Duel.CheckReleaseGroup(tp,Card.IsReleasableByEffect,1,c) and Duel.SelectYesNo(tp,aux.Stringid(78371393,2)) then + if Duel.CheckReleaseGroup(tp,Card.IsReleasableByEffect,1,c) and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then local g=Duel.SelectReleaseGroup(tp,Card.IsReleasableByEffect,1,1,c) Duel.Release(g,REASON_EFFECT) else Duel.Destroy(c,REASON_EFFECT) end