Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
MyCard
pre-release-database-cdb
Commits
72f46f23
Commit
72f46f23
authored
Jan 11, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Beast of Talwar - The Sword Summit
parent
6fb65cf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
script/c101207087.lua
script/c101207087.lua
+10
-10
No files found.
script/c101207087.lua
View file @
72f46f23
...
@@ -18,15 +18,15 @@ function s.initial_effect(c)
...
@@ -18,15 +18,15 @@ function s.initial_effect(c)
e2
:
SetValue
(
s
.
indct
)
e2
:
SetValue
(
s
.
indct
)
--cannot target
--cannot target
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetType
(
EFFECT_TYPE_FIELD
)
e
3
:
SetType
(
EFFECT_TYPE_FIELD
)
e
2
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e
3
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e
2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e
3
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e
2
:
SetRange
(
LOCATION_MZONE
)
e
3
:
SetRange
(
LOCATION_MZONE
)
e
2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e
3
:
SetTargetRange
(
0x34
,
0x34
)
e
2
:
SetTarget
(
s
.
tglimit
)
e
3
:
SetTarget
(
s
.
tglimit
)
e
2
:
SetValue
(
s
.
tgoval
)
e
3
:
SetValue
(
s
.
tgoval
)
c
:
RegisterEffect
(
e
2
)
c
:
RegisterEffect
(
e
3
)
end
end
function
s
.
hspcon
(
e
,
c
)
function
s
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
@@ -39,7 +39,7 @@ function s.indct(e,re,r,rp)
...
@@ -39,7 +39,7 @@ function s.indct(e,re,r,rp)
else
return
0
end
else
return
0
end
end
end
function
s
.
tglimit
(
e
,
c
)
function
s
.
tglimit
(
e
,
c
)
return
c
~=
e
:
GetHandler
()
return
c
~=
e
:
GetHandler
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
s
.
tgoval
(
e
,
re
,
rp
)
function
s
.
tgoval
(
e
,
re
,
rp
)
return
re
:
IsActiveType
(
TYPE_SPELL
)
and
re
:
GetHandler
():
IsType
(
TYPE_EQUIP
)
return
re
:
IsActiveType
(
TYPE_SPELL
)
and
re
:
GetHandler
():
IsType
(
TYPE_EQUIP
)
...
...
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