Skip to content

RushDuel.CreateOnlyThisAttackEffect ​

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

Signature ​

lua
RushDuel.CreateOnlyThisAttackEffect(any e, any code, 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.
  • code 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:248

lua
function RushDuel.CreateOnlyThisAttackEffect(e, code, player, s_range, o_range, reset)
    RushDuel.CreateOnlyThatAttackEffect(e, e:GetHandler(), code, player, s_range, o_range, reset)
end

Used By ​

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

  • Detected in 6 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.CreateOnlyThisAttackEffect.
CardIDScriptDetected Calls
Beast Gear King Convoy Liogon120145031Rush/Scripts/c120145031.lua1
Executie Flame120235019Rush/Scripts/c120235019.lua1
Voidvelg Transi120109018Rush/Scripts/c120109018.lua1
Player #39: Home Run Hitter120199028Rush/Scripts/c120199028.lua1
Gingangel, the Deluxe Sushi Fairy120155030Rush/Scripts/c120155030.lua1
Galactica Rising Oblivion120304038Rush/Scripts/c120304038.lua1

Script Examples ​

Beast Gear King Convoy Liogon (120145031) ​

Source: Rush/Scripts/c120145031.lua

lua
	end
	RD.CreateHintEffect(e,aux.Stringid(m,1),tp,1,0,RESET_PHASE+PHASE_END)
	RD.CreateOnlyThisAttackEffect(e,20145031,tp,LOCATION_MZONE,0,RESET_PHASE+PHASE_END)
end
function cm.atlimit(e,c)

Executie Flame (120235019) ​

Source: Rush/Scripts/c120235019.lua

lua
	end
	RD.CreateHintEffect(e,aux.Stringid(m,2),tp,1,0,RESET_PHASE+PHASE_END)
	RD.CreateOnlyThisAttackEffect(e,20235019,tp,LOCATION_MZONE,0,RESET_PHASE+PHASE_END)
end

Voidvelg Transi (120109018) ​

Source: Rush/Scripts/c120109018.lua

lua
	end
	RD.CreateHintEffect(e,aux.Stringid(m,1),tp,1,0,RESET_PHASE+PHASE_END)
	RD.CreateOnlyThisAttackEffect(e,20109018,tp,LOCATION_MZONE,0,RESET_PHASE+PHASE_END)
end