Road Servant Flare
- Card ID:
120109050 - Format: Rush Duel
- Script:
Rush/Scripts/c120109050.lua
Stats
| Field | Value |
|---|---|
| Type | 0x21 |
| ATK | 1100 |
| DEF | 100 |
| Level/Rank/Link | 0x3 |
| Race | 0x2 |
| Attribute | 0x4 |
| Category | 0x140010 |
Card Text
text
[REQUIREMENT]
During a turn you have not Special Summoned a monster, reveal 1 "Road Magic - Explosion", "Road Magic - Tempest", or "Road Magic - Tectonic Shift" in your hand.
[EFFECT]
Special Summon 1 Level 7 or higher Spellcaster Type monster from your Graveyard face-up to your field. Then, return this card to the owner's hand.Detected API Calls
Auxiliary.FALSEAuxiliary.NecroValleyFilterAuxiliary.StringidCard.IsCodeCard.IsFaceupCard.IsLevelAboveCard.IsPublicCard.IsRaceCard.IsRelateToEffectCard.RegisterEffectDuel.AddCustomActivityCounterDuel.BreakEffectDuel.GetCustomActivityCountDuel.GetMZoneCountDuel.IsExistingMatchingCardDuel.SetOperationInfoEffect.CreateEffectEffect.GetHandlerEffect.SetCategoryEffect.SetConditionEffect.SetCostEffect.SetDescriptionEffect.SetOperationEffect.SetRangeEffect.SetTargetEffect.SetTypeRushDuel.AddCodeListRushDuel.CostShowHandRushDuel.IsCanBeSpecialSummonedRushDuel.SelectAndSpecialSummonRushDuel.SendToHandAndExists
Script
lua
local cm,m=GetID()
local list={120100001,120120039,120130036}
cm.name="大道使魔·炎使魔"
function cm.initial_effect(c)
RD.AddCodeList(c,list)
--Special Summon Counter
Duel.AddCustomActivityCounter(m,ACTIVITY_SPSUMMON,aux.FALSE)
--Special Summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_GRAVE_SPSUMMON+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(cm.condition)
e1:SetCost(cm.cost)
e1:SetTarget(cm.target)
e1:SetOperation(cm.operation)
c:RegisterEffect(e1)
end
--Special Summon
function cm.costfilter(c)
return c:IsCode(list[1],list[2],list[3]) and not c:IsPublic()
end
function cm.spfilter(c,e,tp)
return c:IsLevelAbove(7) and c:IsRace(RACE_SPELLCASTER)
and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP)
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCustomActivityCount(m,tp,ACTIVITY_SPSUMMON)==0
end
cm.cost=RD.CostShowHand(cm.costfilter,1,1)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetMZoneCount(tp)>0
and Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_GRAVE)
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
if RD.SelectAndSpecialSummon(aux.NecroValleyFilter(cm.spfilter),tp,LOCATION_GRAVE,0,1,1,nil,e,POS_FACEUP)~=0 then
local c=e:GetHandler()
if c:IsFaceup() and c:IsRelateToEffect(e) then
Duel.BreakEffect()
RD.SendToHandAndExists(c,e,tp,REASON_EFFECT)
end
end
end