RushDuel.IsCanChangePosition
Alias: RD.IsCanChangePosition. Requires the matching Rush Duel Lua bootstrap.
Signature
lua
RushDuel.IsCanChangePosition(any card, any effect, any player, any reason) -> anyDescription
Rush Duel helper declared in RDCondition.lua. Its argument names are extracted from the pinned source; parameter and return types have not yet been reviewed.
Upstream source comment
text
条件: 可否改变表示形式Parameters
cardany: Type and behavior are not yet reviewed; see the source.effectany: Type and behavior are not yet reviewed; see the source.playerany: Type and behavior are not yet reviewed; see the source.reasonany: Type and behavior are not yet reviewed; see the source.
Returns
any: Return contract has not been reviewed; inspect the source below.
Source
Rush/Utilities/RDCondition.lua:111
lua
function RushDuel.IsCanChangePosition(card, effect, player, reason)
if not card:IsCanChangePosition() or RushDuel.IsMaximumMode(card) then
return false
end
return true
endUsed By
Generated from the local Rush/Scripts/ folder and rush_cards.cdb.
- Detected in 184 indexed script(s).
- Search this function in the Script Explorer with
RushDuel.IsCanChangePosition.
Script Examples
Moonforce Ziggy (120300014)
Source: Rush/Scripts/c120300014.lua
lua
--Lock Attack
function cm.costfilter(c,e,tp)
return c:IsFaceup() and RD.IsCanChangePosition(c,e,tp,REASON_COST)
end
function cm.filter(c)Valkyrian Guard (120231066)
Source: Rush/Scripts/c120231066.lua
lua
end
function cm.posfilter(c,e,tp)
return c:IsAttackPos() and RD.IsCanChangePosition(c,e,tp,REASON_EFFECT)
end
function cm.poscheck(g)Freshberry Collaboration (120301071)
Source: Rush/Scripts/c120301071.lua
lua
--Atk Up
function cm.filter(c,e,tp)
return c:IsAttackPos() and RD.IsCanChangePosition(c,e,tp,REASON_EFFECT)
end
function cm.desfilter(c)