Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
F
fh15-special
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
JoyJ
fh15-special
Commits
70121c9f
Commit
70121c9f
authored
Oct 21, 2020
by
JoyJ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
640b8ef4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
fh15-special.ypk
fh15-special.ypk
+0
-0
script/c10000010.lua
script/c10000010.lua
+3
-5
No files found.
fh15-special.ypk
View file @
70121c9f
No preview for this file type
script/c10000010.lua
View file @
70121c9f
...
@@ -78,11 +78,9 @@ function c10000010.initial_effect(c)
...
@@ -78,11 +78,9 @@ function c10000010.initial_effect(c)
ex2
:
SetType
(
EFFECT_TYPE_SINGLE
)
ex2
:
SetType
(
EFFECT_TYPE_SINGLE
)
ex2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
ex2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
ex2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
ex2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
ex2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
ex2
:
SetProperty
(
EFFECT_FLAG_
IGNORE_IMMUNE
+
EFFECT_FLAG_
CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
ex2
:
SetRange
(
LOCATION_MZONE
)
ex2
:
SetRange
(
LOCATION_MZONE
)
ex2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
ex2
:
SetValue
(
c10000010
.
immune
)
ex2
:
SetValue
(
c10000010
.
immune
)
ex2
:
SetLabel
(
typ
)
c
:
RegisterEffect
(
ex2
)
c
:
RegisterEffect
(
ex2
)
local
ex3
=
Effect
.
CreateEffect
(
c
)
local
ex3
=
Effect
.
CreateEffect
(
c
)
ex3
:
SetDescription
(
aux
.
Stringid
(
10000010
,
3
))
ex3
:
SetDescription
(
aux
.
Stringid
(
10000010
,
3
))
...
@@ -124,8 +122,8 @@ function c10000010.sptgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -124,8 +122,8 @@ function c10000010.sptgop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c10000010
.
immune
(
e
,
te
)
function
c10000010
.
immune
(
e
,
te
)
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
and
(
e
:
Get
Own
er
():
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
(
e
:
Get
Handl
er
():
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
or
((
te
:
GetHandler
():
GetOriginalType
())
&
(
TYPE_TRAP
+
TYPE_MONSTER
)
>
0
))
or
te
:
GetHandler
():
IsType
(
TYPE_TRAP
+
TYPE_MONSTER
))
end
end
function
c10000010
.
dthtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c10000010
.
dthtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGrave
()
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGrave
()
...
...
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