Skip to content

RushDuel.IsCanChangePosition ​

Alias: RD.IsCanChangePosition. Requires the matching Rush Duel Lua bootstrap.

Signature ​

lua
RushDuel.IsCanChangePosition(any card, any effect, any player, any reason) -> any

Description ​

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 ​

  • card any: Type and behavior are not yet reviewed; see the source.
  • effect any: Type and behavior are not yet reviewed; see the source.
  • player any: Type and behavior are not yet reviewed; see the source.
  • reason any: 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
end

Used 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.
CardIDScriptDetected Calls
Moonforce Ziggy120300014Rush/Scripts/c120300014.lua1
Valkyrian Guard120231066Rush/Scripts/c120231066.lua1
Freshberry Collaboration120301071Rush/Scripts/c120301071.lua1
Fuden Issen120309034Rush/Scripts/c120309034.lua1
Sparkhearts Makma120298023Rush/Scripts/c120298023.lua1
Imaginary Arc Turbulence120196013Rush/Scripts/c120196013.lua1
Necromaid Trickment120294063Rush/Scripts/c120294063.lua1
Spice Cross Secret Recipe120261060Rush/Scripts/c120261060.lua1
Curse of the Magiclad Dragon120304061Rush/Scripts/c120304061.lua1
Shannah the Clad Dragon Researcher120304017Rush/Scripts/c120304017.lua1
Galactica Lost Oblivion120277042Rush/Scripts/c120277042.lua1
Heavenly Bliss120203033Rush/Scripts/c120203033.lua1
Lullalabind120246073Rush/Scripts/c120246073.lua1
Evolution Result Flash120290063Rush/Scripts/c120290063.lua1
Lovely Wolf120260046Rush/Scripts/c120260046.lua1
Animagica Majesty120277063Rush/Scripts/c120277063.lua1
False Sun120264033Rush/Scripts/c120264033.lua1
Void Veil120227029Rush/Scripts/c120227029.lua1
Plasmatic Model Smart Owl120285019Rush/Scripts/c120285019.lua1
Blaze Fiend Overlord Zebulth120287033Rush/Scripts/c120287033.lua1
Transam Scride120109036Rush/Scripts/c120109036.lua1
Hysteric Eyes120304063Rush/Scripts/c120304063.lua1
Yamiterasu the Divine Ruler120199036Rush/Scripts/c120199036.lua1
Ether Escape120235062Rush/Scripts/c120235062.lua1
...and 160 more

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)