Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vee4
ygopro-scripts-888
Commits
325e23a3
"...Irrlicht/svn:/svn.code.sf.net/p/irrlicht/code/trunk@3730" did not exist on "20c0d588a676a4c9eeb832cbb3e06ed3414ad521"
Commit
325e23a3
authored
Sep 06, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove aux.dogcon
there is no dogs.
parent
1aa0a790
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
8 deletions
+15
-8
c18426196.lua
c18426196.lua
+5
-1
c68535320.lua
c68535320.lua
+5
-1
c95929069.lua
c95929069.lua
+5
-1
utility.lua
utility.lua
+0
-5
No files found.
c18426196.lua
View file @
325e23a3
...
...
@@ -13,7 +13,7 @@ function c18426196.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetCondition
(
aux
.
dog
con
)
e1
:
SetCondition
(
c18426196
.
th
con
)
e1
:
SetCost
(
c18426196
.
thcost
)
e1
:
SetTarget
(
c18426196
.
thtg
)
e1
:
SetOperation
(
c18426196
.
thop
)
...
...
@@ -24,6 +24,10 @@ function c18426196.condtion(e)
return
(
ph
==
PHASE_DAMAGE
or
ph
==
PHASE_DAMAGE_CAL
)
and
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
end
function
c18426196
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsReason
(
REASON_DESTROY
)
and
rp
==
1
-
tp
end
function
c18426196
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGraveAsCost
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
DiscardHand
(
tp
,
Card
.
IsAbleToGraveAsCost
,
1
,
1
,
REASON_COST
)
...
...
c68535320.lua
View file @
325e23a3
...
...
@@ -7,11 +7,15 @@ function c68535320.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetCondition
(
aux
.
dogc
on
)
e1
:
SetCondition
(
c68535320
.
conditi
on
)
e1
:
SetTarget
(
c68535320
.
target
)
e1
:
SetOperation
(
c68535320
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
c68535320
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsReason
(
REASON_DESTROY
)
and
rp
==
1
-
tp
end
function
c68535320
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
...
...
c95929069.lua
View file @
325e23a3
...
...
@@ -7,11 +7,15 @@ function c95929069.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetCondition
(
aux
.
dogc
on
)
e1
:
SetCondition
(
c95929069
.
conditi
on
)
e1
:
SetTarget
(
c95929069
.
target
)
e1
:
SetOperation
(
c95929069
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
c95929069
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsReason
(
REASON_DESTROY
)
and
rp
==
1
-
tp
end
function
c95929069
.
dfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
...
...
utility.lua
View file @
325e23a3
...
...
@@ -1975,11 +1975,6 @@ function Auxiliary.bdogcon(e,tp,eg,ep,ev,re,r,rp)
local
bc
=
c
:
GetBattleTarget
()
return
c
:
IsRelateToBattle
()
and
c
:
IsStatus
(
STATUS_OPPO_BATTLE
)
and
bc
:
IsLocation
(
LOCATION_GRAVE
)
and
bc
:
IsType
(
TYPE_MONSTER
)
end
--condition of EVENT_TO_GRAVE + destroyed_by_opponent_from_field
function
Auxiliary
.
dogcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsReason
(
REASON_DESTROY
)
and
rp
==
1
-
tp
end
--condition of "except the turn this card was sent to the Graveyard"
function
Auxiliary
.
exccon
(
e
)
return
Duel
.
GetTurnCount
()
~=
e
:
GetHandler
():
GetTurnID
()
or
e
:
GetHandler
():
IsReason
(
REASON_RETURN
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment