Duel.ShuffleHand
Signature
lua
Duel.ShuffleHand(int player) -> voidDescription
Shuffles player's hand and resets shuffle-check state.
Parameters
playerint
Source
D:\Programs\GitHub\ygopro-core\libduel.cpp:4917
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 521 indexed script(s).
- Search this function in the Script Explorer with
Duel.ShuffleHand.
Script Examples
Spellbook of the Grand Circle (11911336)
Source: Scripts/c11911336.lua
lua
local dg=Duel.SelectMatchingCard(tp,Card.IsAbleToDeck,tp,LOCATION_HAND,0,2,2,nil)
Duel.BreakEffect()
Duel.ShuffleHand(tp)
Duel.SendtoDeck(dg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
endMelffy Playtime Surprise (58036097)
Source: Scripts/c58036097.lua
lua
end
if res and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
Duel.ShuffleHand(tp)
local sg1=Duel.GetMatchingGroup(s.filter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,chkf)
local mg2=nilDeftero Enneacraft - "alazoneIA" (92171126)
Source: Scripts/c92171126.lua
lua
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_HAND,0,1,1,nil,e,tp)
Duel.ShuffleHand(tp)
if g:GetCount()>0 then
local sc=g:GetFirst()