Commit b9c9728e authored by 聖園ミカ's avatar 聖園ミカ 🐟

str

parent 2a153565
......@@ -15,14 +15,14 @@ function c81040026.initial_effect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_REMOVE)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e2:SetCountLimit(1,81040926)
e2:SetCountLimit(1,81040026)
e2:SetCondition(c81040026.con)
e2:SetTarget(c81040026.target)
e2:SetOperation(c81040026.operation)
c:RegisterEffect(e2)
end
function c81040026.atkfilter(c)
return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_MONSTER) and (c:IsLocation(LOCATION_GRAVE) or c:IsFaceup())
return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_MONSTER) and c:IsFaceupEx()
end
function c81040026.atkval(e,c)
return Duel.GetMatchingGroupCount(c81040026.atkfilter,c:GetControler(),LOCATION_GRAVE+LOCATION_REMOVED,LOCATION_GRAVE+LOCATION_REMOVED,nil)*200
......@@ -48,7 +48,7 @@ function c81040026.operation(e,tp,eg,ep,ev,re,r,rp)
local b1=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_MZONE,0,nil)
local b2=Duel.GetMatchingGroup(c81040026.thfilter,tp,LOCATION_GRAVE,0,nil)
local b3=Duel.GetMatchingGroup(Card.IsAbleToRemove,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,nil)
if tc:IsRace(RACE_WARRIOR) and #b1>0 and Duel.SelectYesNo(tp,aux.Stringid(81040026,1)) then
if tc:IsRace(RACE_AQUA) and #b1>0 and Duel.SelectYesNo(tp,aux.Stringid(81040026,1)) then
local t1=b1:GetFirst()
while t1 do
local e1=Effect.CreateEffect(e:GetHandler())
......@@ -60,7 +60,7 @@ function c81040026.operation(e,tp,eg,ep,ev,re,r,rp)
t1=b1:GetNext()
end
end
if tc:IsAttribute(ATTRIBUTE_WATER) and #b2>0 and Duel.SelectYesNo(tp,aux.Stringid(81040026,2)) then
if tc:IsAttribute(ATTRIBUTE_WIND) and #b2>0 and Duel.SelectYesNo(tp,aux.Stringid(81040026,2)) then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOHAND)
local t2=b2:Select(tp,1,1,nil)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment