Skip to content

Commit 8a69aa3

Browse files
authored
Xyz proc update
Allow the player to finish selection early when using a monster that can be treated as multiple Xyz Materials (and the player has already selected enough materials) for the Xyz Summon of a monster that doesn't have a specific number of materials as the maximum (e.g. "3+ ..."). credits to edo
1 parent 56821cf commit 8a69aa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proc_xyz.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ function Xyz.Target(f,lv,minc,maxc,mustbemat,exchk)
435435
end
436436
end
437437
end
438-
finishable=#matg>=minc and Xyz.CheckMaterialSet(matg,c,tp,exchk,mustg,lv)
438+
finishable=#matg+extra_mats>=minc and Xyz.CheckMaterialSet(matg,c,tp,exchk,mustg,lv)
439439
::continue::
440440
end
441441
sg:KeepAlive()

0 commit comments

Comments
 (0)