Skip to content

RushDuel.AddContinuousEffect ​

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

Signature ​

lua
RushDuel.AddContinuousEffect(any c, ... any) -> any

Description ​

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

Upstream source comment ​

text
添加永续效果列表

Parameters ​

  • c any: Type and behavior are not yet reviewed; see the source.
  • ... 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/RDContinuous.lua:5

lua
function RushDuel.AddContinuousEffect(c, ...)
    if c:IsStatus(STATUS_COPYING_EFFECT) then
        return
    end
    if c.continuous_effect == nil then
        local mt = getmetatable(c)
        mt.continuous_effect = {...}
    else
        for _, e in ipairs {...} do
            table.insert(c.continuous_effect, e)
        end
    end
end

Used By ​

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

  • Detected in 203 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.AddContinuousEffect.
CardIDScriptDetected Calls
Supreme Machine Magnum Overlord120150002Rush/Scripts/c120150002.lua1
Souffraruda the Defiant Soulclad Scripture120298002Rush/Scripts/c120298002.lua1
Plandolin-a-la-Mode120264042Rush/Scripts/c120264042.lua1
Twin Blaze Fiend Angel Lunael120287032Rush/Scripts/c120287032.lua1
Supreme Beasteam Magnum Overlord [R]120217003Rush/Scripts/c120217003.lua1
Cross Lostream Verdias120309035Rush/Scripts/c120309035.lua1
Isyria, Deity of the Monumenthes120300037Rush/Scripts/c120300037.lua1
Plasma Saber the Super Graphagas120272038Rush/Scripts/c120272038.lua1
Dark Paladin120283002Rush/Scripts/c120283002.lua1
Transam Prime Armor Nova120257008Rush/Scripts/c120257008.lua1
Exalted Celestial Custodian of the Sacred Summit120304100Rush/Scripts/c120304100.lua1
God Maju Garzett120261043Rush/Scripts/c120261043.lua1
Ancient Gear Megaton Golem120283030Rush/Scripts/c120283030.lua1
Deity of Seven Treasures - Ryozai120257036Rush/Scripts/c120257036.lua1
Dark Matter Enigmata120261048Rush/Scripts/c120261048.lua1
Dark Matter Deep Badger120264004Rush/Scripts/c120264004.lua1
Eternum Voidvelg Requiem120300032Rush/Scripts/c120300032.lua1
Draco the Doubly Tiny120294039Rush/Scripts/c120294039.lua1
Cuilades the Skysavior Dismal Dark120301038Rush/Scripts/c120301038.lua1
Abyssal Sea Dragon Abyss Kraken120239017Rush/Scripts/c120239017.lua1
Dark Cavalry120283028Rush/Scripts/c120283028.lua1
Speed Major120301057Rush/Scripts/c120301057.lua1
Great Moth Alternative120298032Rush/Scripts/c120298032.lua1
Dark Sword Magician120246080Rush/Scripts/c120246080.lua1
...and 179 more

Script Examples ​

Supreme Machine Magnum Overlord (120150002) ​

Source: Rush/Scripts/c120150002.lua

lua
	c:RegisterEffect(e1)
	--Continuous Effect
	RD.AddContinuousEffect(c,e1)
end
--Indes

Souffraruda the Defiant Soulclad Scripture (120298002) ​

Source: Rush/Scripts/c120298002.lua

lua
	c:RegisterEffect(e2)
	--Continuous Effect
	RD.AddContinuousEffect(c,e1,e2)
end
--Damage

Plandolin-a-la-Mode (120264042) ​

Source: Rush/Scripts/c120264042.lua

lua
	c:RegisterEffect(e1)
	--Continuous Effect
	RD.AddContinuousEffect(c,e1)
end
-- Fusion Expend