RushDuel.Damage
Alias: RD.Damage. Requires the matching Rush Duel Lua bootstrap.
Signature
lua
RushDuel.Damage(any player, any damage) -> anyDescription
Rush Duel helper declared in RDTarget.lua. Its argument names are extracted from the pinned source; parameter and return types have not yet been reviewed.
Upstream source comment
text
对玩家效果: 伤害 - 结算Parameters
playerany: Type and behavior are not yet reviewed; see the source.damageany: 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/RDTarget.lua:44
lua
function RushDuel.Damage(player, damage)
local p, d = Duel.GetChainInfo(0, CHAININFO_TARGET_PLAYER, CHAININFO_TARGET_PARAM)
return Duel.Damage(player or p, damage or d, REASON_EFFECT)
endUsed By
Generated from the local Rush/Scripts/ folder and rush_cards.cdb.
- Detected in 52 indexed script(s).
- Search this function in the Script Explorer with
RushDuel.Damage.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Roaring Firestorm Volcalize Phoenix | 120249016 | Rush/Scripts/c120249016.lua | 2 |
| Spiral Geyser | 120199064 | Rush/Scripts/c120199064.lua | 1 |
| Pitch-Dark Eradicator Sorcerer | 120309008 | Rush/Scripts/c120309008.lua | 1 |
| Supreme Railartillery Magnum Overlord [R] | 120239003 | Rush/Scripts/c120239003.lua | 1 |
| CAN:D LIVE | 120199035 | Rush/Scripts/c120199035.lua | 1 |
| Cannon Soljersey | 120228016 | Rush/Scripts/c120228016.lua | 1 |
| Terrorphone Number | 120217087 | Rush/Scripts/c120217087.lua | 1 |
| Breaking News! | 120199063 | Rush/Scripts/c120199063.lua | 1 |
| Ancient Gear Hunting Hound | 120283048 | Rush/Scripts/c120283048.lua | 2 |
| Amusi Annoyance | 120249063 | Rush/Scripts/c120249063.lua | 1 |
| Burst Ray Blaster | 120222022 | Rush/Scripts/c120222022.lua | 1 |
| Dragonic Domination | 120261064 | Rush/Scripts/c120261064.lua | 1 |
| Space Bud Exploit | 120260015 | Rush/Scripts/c120260015.lua | 1 |
| Defrostrooper Mk-II | 120261039 | Rush/Scripts/c120261039.lua | 1 |
| Agent Mishap | 120257022 | Rush/Scripts/c120257022.lua | 1 |
| Voidvelg Hecatoncheir | 120227007 | Rush/Scripts/c120227007.lua | 1 |
| Endless Romance Blitz | 120205034 | Rush/Scripts/c120205034.lua | 1 |
| Hiita the Fire Spiritualist | 120301011 | Rush/Scripts/c120301011.lua | 1 |
| Accel Wonder Flare | 120186010 | Rush/Scripts/c120186010.lua | 1 |
| Sigurstate Sol | 120191004 | Rush/Scripts/c120191004.lua | 1 |
| Rolled Hot Arrow | 120151047 | Rush/Scripts/c120151047.lua | 1 |
| Reporting from the Scene! | 120199062 | Rush/Scripts/c120199062.lua | 1 |
| Extra Spice the Elite Noodle Ninja | 120145033 | Rush/Scripts/c120145033.lua | 1 |
| Royal Rebel's Grunge | 120254074 | Rush/Scripts/c120254074.lua | 2 |
| ...and 28 more |
Script Examples
Roaring Firestorm Volcalize Phoenix (120249016)
Source: Rush/Scripts/c120249016.lua
lua
if chk==0 then return true end
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
RD.Damage(1-tp,1000)
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)Spiral Geyser (120199064)
Source: Rush/Scripts/c120199064.lua
lua
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
RD.Damage()
if Duel.GetFlagEffect(tp,m)~=0 then return end
RD.CreateHintEffect(e,aux.Stringid(m,1),tp,1,0,RESET_PHASE+PHASE_END)Pitch-Dark Eradicator Sorcerer (120309008)
Source: Rush/Scripts/c120309008.lua
lua
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
RD.Damage()
end