Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
380b599
commit f05fcc2
Showing
46 changed files
with
1,180 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--クイック·スパナイト | ||
function c11287364.initial_effect(c) | ||
--atk change | ||
local e1=Effect.CreateEffect(c) | ||
e1:SetDescription(aux.Stringid(11287364,0)) | ||
e1:SetCategory(CATEGORY_ATKCHANGE) | ||
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) | ||
e1:SetCode(EVENT_BE_MATERIAL) | ||
e1:SetCondition(c11287364.atkcon) | ||
e1:SetTarget(c11287364.atktg) | ||
e1:SetOperation(c11287364.atkop) | ||
c:RegisterEffect(e1) | ||
end | ||
function c11287364.atkcon(e,tp,eg,ep,ev,re,r,rp) | ||
return e:GetHandler():IsLocation(LOCATION_GRAVE) and r==REASON_SYNCHRO | ||
end | ||
function c11287364.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) | ||
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and chkc:IsFaceup() end | ||
if chk==0 then return true end | ||
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP) | ||
Duel.SelectTarget(tp,Card.IsFaceup,tp,0,LOCATION_MZONE,1,1,nil) | ||
end | ||
function c11287364.atkop(e,tp,eg,ep,ev,re,r,rp) | ||
local tc=Duel.GetFirstTarget() | ||
if tc and tc:IsRelateToEffect(e) and tc:IsFaceup() then | ||
local e1=Effect.CreateEffect(e:GetHandler()) | ||
e1:SetType(EFFECT_TYPE_SINGLE) | ||
e1:SetCode(EFFECT_UPDATE_ATTACK) | ||
e1:SetReset(RESET_EVENT+0x1fe0000) | ||
e1:SetValue(-500) | ||
tc:RegisterEffect(e1) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--吸血コアラ | ||
function c1371589.initial_effect(c) | ||
--recover | ||
local e1=Effect.CreateEffect(c) | ||
e1:SetDescription(aux.Stringid(1371589,0)) | ||
e1:SetCategory(CATEGORY_RECOVER) | ||
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) | ||
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) | ||
e1:SetCode(EVENT_BATTLE_DAMAGE) | ||
e1:SetCondition(c1371589.condition) | ||
e1:SetTarget(c1371589.target) | ||
e1:SetOperation(c1371589.operation) | ||
c:RegisterEffect(e1) | ||
end | ||
function c1371589.condition(e,tp,eg,ep,ev,re,r,rp) | ||
return ep~=tp | ||
end | ||
function c1371589.target(e,tp,eg,ep,ev,re,r,rp,chk) | ||
if chk==0 then return true end | ||
Duel.SetTargetPlayer(tp) | ||
Duel.SetTargetParam(ev) | ||
Duel.SetOperationInfo(0,CATEGORY_RECOVER,0,0,tp,ev) | ||
end | ||
function c1371589.operation(e,tp,eg,ep,ev,re,r,rp) | ||
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM) | ||
Duel.Recover(p,d,REASON_EFFECT) | ||
end |
Oops, something went wrong.