Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
MyCard
ygopro-scripts
Commits
f5f660ac
Commit
f5f660ac
authored
Dec 30, 2019
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix value check of EFFECT_AVOID_BATTLE_DAMAGE
c==nil means direct attack
parent
af855879
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
c2980764.lua
c2980764.lua
+1
-1
c72006609.lua
c72006609.lua
+1
-1
No files found.
c2980764.lua
View file @
f5f660ac
...
@@ -32,7 +32,7 @@ function c2980764.initial_effect(c)
...
@@ -32,7 +32,7 @@ function c2980764.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c2980764
.
tglimit
(
e
,
c
)
function
c2980764
.
tglimit
(
e
,
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
return
c
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
end
end
function
c2980764
.
sumlimit
(
e
,
c
)
function
c2980764
.
sumlimit
(
e
,
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
...
...
c72006609.lua
View file @
f5f660ac
...
@@ -65,5 +65,5 @@ function c72006609.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,5 +65,5 @@ function c72006609.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c72006609
.
tglimit
(
e
,
c
)
function
c72006609
.
tglimit
(
e
,
c
)
return
not
c
:
GetBattleTarget
():
GetColumnGroup
():
IsContains
(
c
)
return
c
and
not
c
:
GetBattleTarget
():
GetColumnGroup
():
IsContains
(
c
)
end
end
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