Skip to content

RushDuel.CreateCannotActivateEffect ​

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

Signature ​

lua
RushDuel.CreateCannotActivateEffect(any e, any desc, any value, any player, any s_range, any o_range, any reset) -> any

Description ​

Rush Duel helper declared in RDLimit.lua. Its argument names are extracted from the pinned source; parameter and return types have not yet been reviewed.

Upstream source comment ​

text
创建限制: 不能把效果发动

Parameters ​

  • e any: Type and behavior are not yet reviewed; see the source.
  • desc any: Type and behavior are not yet reviewed; see the source.
  • value any: Type and behavior are not yet reviewed; see the source.
  • player any: Type and behavior are not yet reviewed; see the source.
  • s_range any: Type and behavior are not yet reviewed; see the source.
  • o_range any: Type and behavior are not yet reviewed; see the source.
  • reset 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/RDLimit.lua:310

lua
function RushDuel.CreateCannotActivateEffect(e, desc, value, player, s_range, o_range, reset)
    return RushDuel.CreateCannotActivateMix(e, desc, player, s_range, o_range, reset, value)
end

Used By ​

Generated from the local Rush/Scripts/ folder and rush_cards.cdb.

  • Detected in 25 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.CreateCannotActivateEffect.
CardIDScriptDetected Calls
Elemental Circulation120263030Rush/Scripts/c120263030.lua1
Pot of Duality120271002Rush/Scripts/c120271002.lua1
Ember the Ultra Assistant120283035Rush/Scripts/c120283035.lua1
Tubardiche the Music Princess120247025Rush/Scripts/c120247025.lua1
Voidvelg Gehennamagia120109048Rush/Scripts/c120109048.lua1
Red-Eyes Mars Dragon120306034Rush/Scripts/c120306034.lua1
Hysteric Eyes120304063Rush/Scripts/c120304063.lua1
Celeb Rose Rich Magicians120287040Rush/Scripts/c120287040.lua1
Jointech Nesstrydar Tank120257017Rush/Scripts/c120257017.lua1
Voidalfr Buprestruve120300003Rush/Scripts/c120300003.lua1
Moonforce Piyopi120300011Rush/Scripts/c120300011.lua1
The Secret of Manifestation120257051Rush/Scripts/c120257051.lua1
Animagica Coin120277056Rush/Scripts/c120277056.lua1
Marsphlox the Planetairy120293050Rush/Scripts/c120293050.lua1
Healthie Olivia120306023Rush/Scripts/c120306023.lua1
Strange Attractor120260017Rush/Scripts/c120260017.lua1
Jointech Spike Centipede120249007Rush/Scripts/c120249007.lua1
Prime Call120257048Rush/Scripts/c120257048.lua1
Jointech Cobra120249002Rush/Scripts/c120249002.lua1
Yewearth the Planetairy120293051Rush/Scripts/c120293051.lua1
Moonforce Rifet120300012Rush/Scripts/c120300012.lua1
Lore Leimey120294037Rush/Scripts/c120294037.lua1
Animagica Leader120260074Rush/Scripts/c120260074.lua1
Phantasmal Triangular Scale120264054Rush/Scripts/c120264054.lua1
...and 1 more

Script Examples ​

Elemental Circulation (120263030) ​

Source: Rush/Scripts/c120263030.lua

lua
	end
	if Duel.GetFlagEffect(tp,m)~=0 then return end
	RD.CreateCannotActivateEffect(e,aux.Stringid(m,2),cm.aclimit,tp,1,0,RESET_PHASE+PHASE_END)
	Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
end

Pot of Duality (120271002) ​

Source: Rush/Scripts/c120271002.lua

lua
	if Duel.GetFlagEffect(tp,m)~=0 then return end
	RD.CreateCannotSpecialSummonEffect(e,aux.Stringid(m,1),nil,tp,1,0,RESET_PHASE+PHASE_END)
	RD.CreateCannotActivateEffect(e,aux.Stringid(m,2),cm.aclimit,tp,1,0,RESET_PHASE+PHASE_END)
	Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
end

Ember the Ultra Assistant (120283035) ​

Source: Rush/Scripts/c120283035.lua

lua
	end
	if Duel.GetFlagEffect(tp,m)~=0 then return end
	RD.CreateCannotActivateEffect(e,aux.Stringid(m,2),cm.aclimit,tp,1,0,RESET_PHASE+PHASE_END)
	Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
end