You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: proc_workaround.lua
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
--Utilities to be added to the core
2
2
3
3
--[[
4
-
If a non-activated effect allows a monster to be Summoned with a different property (e.g. "as a Level X monster") then that different property should be considered when any "cannot summon" type of effects are checked
4
+
If a non-activated effect allows a monster to be Special Summoned with a different property (e.g. "as a Level X monster") then that different property should be considered when any "cannot summon" type of effects are checked
5
5
("Cockadoodledoo" vs "Evilswarm Ophion" workaround)
--if there's no target function in the effect then return early
15
16
ifnotbase_tgthenreturnreg_eend
17
+
--change the "cannot (special) summon" effect's target function to execute the specialised "assume" function, if it exists, before returning its regular check
18
+
--as a result when the base target function is executed the relevant assume property call has already happened
0 commit comments