Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Nemo Ma
no81cards
Commits
3ad6d71c
Commit
3ad6d71c
authored
Nov 18, 2024
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3ce7d32d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
144 additions
and
143 deletions
+144
-143
expansions/script/glitchylib_constant.lua
expansions/script/glitchylib_constant.lua
+142
-0
expansions/script/glitchylib_vsnemo.lua
expansions/script/glitchylib_vsnemo.lua
+2
-143
No files found.
expansions/script/glitchylib_constant.lua
0 → 100644
View file @
3ad6d71c
--Rating types
RATING_LEVEL
=
0x1
RATING_RANK
=
0x2
RATING_LINK
=
0x4
--Stat types
STAT_ATTACK
=
0x1
STAT_DEFENSE
=
0x2
--COIN RESULTS
COIN_HEADS
=
1
COIN_TAILS
=
0
--Effects
GLOBAL_EFFECT_RESET
=
10203040
--Events
EVENT_EXCAVATED
=
EVENT_CUSTOM
+
50000000
--Properties
EFFECT_FLAG_DD
=
EFFECT_FLAG_DAMAGE_STEP
|
EFFECT_FLAG_DAMAGE_CAL
EFFECT_FLAG_DDD
=
EFFECT_FLAG_DELAY
|
EFFECT_FLAG_DAMAGE_STEP
|
EFFECT_FLAG_DAMAGE_CAL
--zone constants
EXTRA_MONSTER_ZONE
=
0x60
--resets
RESETS_REDIRECT_FIELD
=
0x047e0000
RESETS_STANDARD_DISABLE
=
RESETS_STANDARD
|
RESET_DISABLE
RESETS_STANDARD_UNION
=
RESETS_STANDARD
&
(
~
(
RESET_TOFIELD
|
RESET_LEAVE
))
RESETS_STANDARD_TOFIELD
=
RESETS_STANDARD
&
(
~
(
RESET_TOFIELD
))
RESETS_STANDARD_EXC_GRAVE
=
RESETS_STANDARD
&~
(
RESET_LEAVE
|
RESET_TOGRAVE
)
RESETS_STANDARD_FACEDOWN
=
RESETS_STANDARD
&
(
~
(
RESET_TURN_SET
))
RESETS_STANDARD_ACTIVATION
=
RESETS_STANDARD
&~
(
RESET_TOFIELD
|
RESET_LEAVE
|
RESET_TOGRAVE
)
--timings
RELEVANT_TIMINGS
=
TIMINGS_CHECK_MONSTER
|
TIMING_MAIN_END
|
TIMING_END_PHASE
RELEVANT_BATTLE_TIMINGS
=
TIMING_BATTLE_PHASE
|
TIMING_BATTLE_END
|
TIMING_ATTACK
|
TIMING_BATTLE_START
|
TIMING_BATTLE_STEP_END
--win
WIN_REASON_CUSTOM
=
0xff
--constants aliases
TYPE_ST
=
TYPE_SPELL
|
TYPE_TRAP
TYPE_EXTRA
=
TYPE_FUSION
|
TYPE_SYNCHRO
|
TYPE_XYZ
|
TYPE_LINK
CATEGORIES_ATKDEF
=
CATEGORY_ATKCHANGE
|
CATEGORY_DEFCHANGE
CATEGORIES_SEARCH
=
CATEGORY_SEARCH
|
CATEGORY_TOHAND
CATEGORIES_FUSION_SUMMON
=
CATEGORY_SPECIAL_SUMMON
|
CATEGORY_FUSION_SUMMON
CATEGORIES_TOKEN
=
CATEGORY_SPECIAL_SUMMON
|
CATEGORY_TOKEN
RACE_PSYCHIC
=
RACE_PSYCHO
RACES_BEASTS
=
RACE_BEAST
|
RACE_BEASTWARRIOR
|
RACE_WINDBEAST
ARCHE_FUSION
=
0x46
CARD_ANCIENT_PIXIE_DRAGON
=
4179255
CARD_BLACK_AND_WHITE_WAVE
=
31677606
CARD_BLUEEYES_SPIRIT
=
59822133
CARD_CYBER_DRAGON
=
70095154
CARD_CYBER_HARPIE_LADY
=
80316585
CARD_DESPAIR_FROM_THE_DARK
=
71200730
CARD_EHERO_BLAZEMAN
=
63060238
CARD_MONSTER_REBORN
=
83764718
CARD_MOON_MIRROR_SHIELD
=
19508728
CARD_NUMBER_39_UTOPIA
=
84013237
CARD_ROTA
=
32807846
CARD_UMI
=
22702055
LOCATION_ALL
=
LOCATION_DECK
|
LOCATION_HAND
|
LOCATION_MZONE
|
LOCATION_SZONE
|
LOCATION_GRAVE
|
LOCATION_REMOVED
|
LOCATION_EXTRA
|
LOCATION_OVERLAY
LOCATION_GB
=
LOCATION_GRAVE
|
LOCATION_REMOVED
LOCATIONS_PRIVATE
=
LOCATION_HAND
|
LOCATION_DECK
|
LOCATION_EXTRA
MAX_RATING
=
14
REASON_EXCAVATE
=
REASON_REVEAL
RESET_TURN_SELF
=
RESET_SELF_TURN
RESET_TURN_OPPO
=
RESET_OPPO_TURN
--Strings
STRING_ADD_TO_HAND
=
1190
STRING_BANISH
=
1102
STRING_DRAW
=
1108
STRING_PLACE_IN_PZONE
=
1160
STRING_RECOVER
=
1123
STRING_SEND_TO_DECK
=
1193
STRING_SEND_TO_EXTRA
=
1006
STRING_SEND_TO_GY
=
1191
STRING_SET
=
1153
STRING_SPECIAL_SUMMON
=
1152
STRING_DECKTOP
=
aux
.
Stringid
(
38082437
,
4
)
STRING_DECKBOTTOM
=
aux
.
Stringid
(
38082437
,
5
)
--Nemo's archetypes and constants
ARCHE_ANIFRIENDS
=
0x442
ARCHE_BRAND_810
=
0x3462
ARCHE_DESPERADO_TRICKSTER
=
0x3461
ARCHE_DESPERADO_HEART
=
0x5461
ARCHE_KEY
=
0x460
ARCHE_KEY_FRAGMENTS
=
0x3460
ARCHE_KEY_MEMORIA
=
0x5460
ARCHE_KEY_CLIMAX
=
0x6460
ARCHE_KEY_MOMENT
=
0x9460
ARCHE_KEY_LBO
=
0xa460
ARCHE_KEY_ETC
=
0xc460
ARCHE_SEPIALIFE
=
0x144e
ARCHE_SANDSTAR
=
{
33700058
,
33700945
,
33731003
,
33731004
,
33731005
}
CARD_ANIFRIENDS_CELLVAL
=
33701352
CARD_ANIFRIENDS_SERVAL
=
33700055
CARD_DESPERADO_HEART
=
33720100
CARD_DESPERADO_TRICKSTER_THE_FORERUNNER
=
33720106
CARD_KEY_FRAGMENTS_RIKI
=
33730131
CARD_KEY_FRAGMENTS_RIN
=
33730133
CARD_KEY_MEMORIA_HANABI
=
33730159
CARD_KEY_MEMORIA_JUST_ONE_MAGIC_WORD
=
33730161
CARD_ZEORYMER_OF_THE_SKY
=
33701376
COUNTER_ANTHEM_REINCARNATION
=
0x467
COUNTER_GEAS
=
0x1461
COUNTER_COMPASSION_OF_DESPERADO_HEART
=
0x462
COUNTER_CONNECTION_OF_DESPERADO_HEART
=
0x463
COUNTER_H_ANIFRIENDS_OINARI_SAMA
=
0x466
COUNTER_HEALING_VISION_DESCENT
=
0x469
COUNTER_KARMA_OF_DESPERADO_HEART
=
0x464
COUNTER_LBO_HAPPINESS
=
0x440
COUNTER_LORE
=
0x246
COUNTER_SAN
=
0x465
COUNTER_SPARKLE
=
0x443
COUNTER_VOYAGE_TO_THE_END
=
0x468
TOKEN_BELKA
=
33730163
TOKEN_DESPERADO_HEART
=
33720101
TOKEN_GOLDEN_SAURYMAN
=
33720265
TOKEN_MONSTER_UNIVERSE
=
33720246
TOKEN_STRELKA
=
33730162
\ No newline at end of file
expansions/script/glitchylib_vsnemo.lua
View file @
3ad6d71c
...
@@ -2,6 +2,7 @@ GLITCHYLIB_LOADED = true
...
@@ -2,6 +2,7 @@ GLITCHYLIB_LOADED = true
self_reference_effect
=
nil
self_reference_effect
=
nil
self_reference_tp
=
nil
self_reference_tp
=
nil
Duel
.
LoadScript
(
"glitchylib_constant.lua"
)
Duel
.
LoadScript
(
"glitchylib_regeff.lua"
)
Duel
.
LoadScript
(
"glitchylib_regeff.lua"
)
Duel
.
LoadScript
(
"glitchylib_single_vsnemo.lua"
)
Duel
.
LoadScript
(
"glitchylib_single_vsnemo.lua"
)
Duel
.
LoadScript
(
"glitchylib_cost.lua"
)
Duel
.
LoadScript
(
"glitchylib_cost.lua"
)
...
@@ -93,149 +94,7 @@ Auxiliary.damcon1 = function(e,tp,eg,ep,ev,re,r,rp)
...
@@ -93,149 +94,7 @@ Auxiliary.damcon1 = function(e,tp,eg,ep,ev,re,r,rp)
return
ex
and
(
cp
==
tp
or
cp
==
PLAYER_ALL
)
and
rr
and
recovercheck
and
takedamcheck
return
ex
and
(
cp
==
tp
or
cp
==
PLAYER_ALL
)
and
rr
and
recovercheck
and
takedamcheck
end
end
--
--Rating types
RATING_LEVEL
=
0x1
RATING_RANK
=
0x2
RATING_LINK
=
0x4
--Stat types
STAT_ATTACK
=
0x1
STAT_DEFENSE
=
0x2
--COIN RESULTS
COIN_HEADS
=
1
COIN_TAILS
=
0
--Effects
GLOBAL_EFFECT_RESET
=
10203040
--Events
EVENT_EXCAVATED
=
EVENT_CUSTOM
+
50000000
--Properties
EFFECT_FLAG_DD
=
EFFECT_FLAG_DAMAGE_STEP
|
EFFECT_FLAG_DAMAGE_CAL
EFFECT_FLAG_DDD
=
EFFECT_FLAG_DELAY
|
EFFECT_FLAG_DAMAGE_STEP
|
EFFECT_FLAG_DAMAGE_CAL
--zone constants
EXTRA_MONSTER_ZONE
=
0x60
--resets
RESETS_REDIRECT_FIELD
=
0x047e0000
RESETS_STANDARD_DISABLE
=
RESETS_STANDARD
|
RESET_DISABLE
RESETS_STANDARD_UNION
=
RESETS_STANDARD
&
(
~
(
RESET_TOFIELD
|
RESET_LEAVE
))
RESETS_STANDARD_TOFIELD
=
RESETS_STANDARD
&
(
~
(
RESET_TOFIELD
))
RESETS_STANDARD_EXC_GRAVE
=
RESETS_STANDARD
&~
(
RESET_LEAVE
|
RESET_TOGRAVE
)
RESETS_STANDARD_FACEDOWN
=
RESETS_STANDARD
&
(
~
(
RESET_TURN_SET
))
RESETS_STANDARD_ACTIVATION
=
RESETS_STANDARD
&~
(
RESET_TOFIELD
|
RESET_LEAVE
|
RESET_TOGRAVE
)
--timings
RELEVANT_TIMINGS
=
TIMINGS_CHECK_MONSTER
|
TIMING_MAIN_END
|
TIMING_END_PHASE
RELEVANT_BATTLE_TIMINGS
=
TIMING_BATTLE_PHASE
|
TIMING_BATTLE_END
|
TIMING_ATTACK
|
TIMING_BATTLE_START
|
TIMING_BATTLE_STEP_END
--win
WIN_REASON_CUSTOM
=
0xff
--constants aliases
TYPE_ST
=
TYPE_SPELL
|
TYPE_TRAP
TYPE_EXTRA
=
TYPE_FUSION
|
TYPE_SYNCHRO
|
TYPE_XYZ
|
TYPE_LINK
CATEGORIES_ATKDEF
=
CATEGORY_ATKCHANGE
|
CATEGORY_DEFCHANGE
CATEGORIES_SEARCH
=
CATEGORY_SEARCH
|
CATEGORY_TOHAND
CATEGORIES_FUSION_SUMMON
=
CATEGORY_SPECIAL_SUMMON
|
CATEGORY_FUSION_SUMMON
CATEGORIES_TOKEN
=
CATEGORY_SPECIAL_SUMMON
|
CATEGORY_TOKEN
RACE_PSYCHIC
=
RACE_PSYCHO
RACES_BEASTS
=
RACE_BEAST
|
RACE_BEASTWARRIOR
|
RACE_WINDBEAST
ARCHE_FUSION
=
0x46
CARD_ANCIENT_PIXIE_DRAGON
=
4179255
CARD_BLACK_AND_WHITE_WAVE
=
31677606
CARD_BLUEEYES_SPIRIT
=
59822133
CARD_CYBER_DRAGON
=
70095154
CARD_CYBER_HARPIE_LADY
=
80316585
CARD_DESPAIR_FROM_THE_DARK
=
71200730
CARD_EHERO_BLAZEMAN
=
63060238
CARD_MONSTER_REBORN
=
83764718
CARD_MOON_MIRROR_SHIELD
=
19508728
CARD_NUMBER_39_UTOPIA
=
84013237
CARD_ROTA
=
32807846
CARD_UMI
=
22702055
LOCATION_ALL
=
LOCATION_DECK
|
LOCATION_HAND
|
LOCATION_MZONE
|
LOCATION_SZONE
|
LOCATION_GRAVE
|
LOCATION_REMOVED
|
LOCATION_EXTRA
|
LOCATION_OVERLAY
LOCATION_GB
=
LOCATION_GRAVE
|
LOCATION_REMOVED
LOCATIONS_PRIVATE
=
LOCATION_HAND
|
LOCATION_DECK
|
LOCATION_EXTRA
MAX_RATING
=
14
REASON_EXCAVATE
=
REASON_REVEAL
RESET_TURN_SELF
=
RESET_SELF_TURN
RESET_TURN_OPPO
=
RESET_OPPO_TURN
--Strings
STRING_ADD_TO_HAND
=
1190
STRING_BANISH
=
1102
STRING_DRAW
=
1108
STRING_PLACE_IN_PZONE
=
1160
STRING_RECOVER
=
1123
STRING_SEND_TO_DECK
=
1193
STRING_SEND_TO_EXTRA
=
1006
STRING_SEND_TO_GY
=
1191
STRING_SET
=
1153
STRING_SPECIAL_SUMMON
=
1152
STRING_DECKTOP
=
aux
.
Stringid
(
38082437
,
4
)
STRING_DECKBOTTOM
=
aux
.
Stringid
(
38082437
,
5
)
--Nemo's archetypes and constants
ARCHE_ANIFRIENDS
=
0x442
ARCHE_BRAND_810
=
0x3462
ARCHE_DESPERADO_TRICKSTER
=
0x3461
ARCHE_DESPERADO_HEART
=
0x5461
ARCHE_KEY
=
0x460
ARCHE_KEY_FRAGMENTS
=
0x3460
ARCHE_KEY_MEMORIA
=
0x5460
ARCHE_KEY_CLIMAX
=
0x6460
ARCHE_KEY_MOMENT
=
0x9460
ARCHE_KEY_LBO
=
0xa460
ARCHE_KEY_ETC
=
0xc460
ARCHE_SEPIALIFE
=
0x144e
ARCHE_SANDSTAR
=
{
33700058
,
33700945
,
33731003
,
33731004
,
33731005
}
CARD_ANIFRIENDS_CELLVAL
=
33701352
CARD_ANIFRIENDS_SERVAL
=
33700055
CARD_DESPERADO_HEART
=
33720100
CARD_DESPERADO_TRICKSTER_THE_FORERUNNER
=
33720106
CARD_KEY_FRAGMENTS_RIKI
=
33730131
CARD_KEY_FRAGMENTS_RIN
=
33730133
CARD_KEY_MEMORIA_HANABI
=
33730159
CARD_KEY_MEMORIA_JUST_ONE_MAGIC_WORD
=
33730161
CARD_ZEORYMER_OF_THE_SKY
=
33701376
COUNTER_ANTHEM_REINCARNATION
=
0x467
COUNTER_GEAS
=
0x1461
COUNTER_COMPASSION_OF_DESPERADO_HEART
=
0x462
COUNTER_CONNECTION_OF_DESPERADO_HEART
=
0x463
COUNTER_H_ANIFRIENDS_OINARI_SAMA
=
0x466
COUNTER_HEALING_VISION_DESCENT
=
0x469
COUNTER_KARMA_OF_DESPERADO_HEART
=
0x464
COUNTER_LBO_HAPPINESS
=
0x440
COUNTER_LORE
=
0x246
COUNTER_SAN
=
0x465
COUNTER_SPARKLE
=
0x443
COUNTER_VOYAGE_TO_THE_END
=
0x468
TOKEN_BELKA
=
33730163
TOKEN_DESPERADO_HEART
=
33720101
TOKEN_GOLDEN_SAURYMAN
=
33720265
TOKEN_MONSTER_UNIVERSE
=
33720246
TOKEN_STRELKA
=
33730162
function
Group
.
ForEach
(
g
,
f
,
...
)
function
Group
.
ForEach
(
g
,
f
,
...
)
for
tc
in
aux
.
Next
(
g
)
do
for
tc
in
aux
.
Next
(
g
)
do
...
...
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