Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions unofficial/c511001391.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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
Expand Down