Skip to content

RushDuel.CreateHintEffect ​

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

Signature ​

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

Description ​

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

Upstream source comment ​

text
创建效果: 在LP槽显示提示信息

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.
  • 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/RDBase.lua:152

lua
function RushDuel.CreateHintEffect(e, desc, player, s_range, o_range, reset)
    local e1 = Effect.CreateEffect(e:GetHandler())
    e1:SetDescription(desc)
    e1:SetType(EFFECT_TYPE_FIELD)
    e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET + EFFECT_FLAG_CLIENT_HINT)
    e1:SetTargetRange(s_range, o_range)
    e1:SetReset(reset)
    Duel.RegisterEffect(e1, player)
    return e1
end

Used By ​

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

  • Detected in 70 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.CreateHintEffect.
CardIDScriptDetected Calls
Skysavior Watch120235053Rush/Scripts/c120235053.lua1
Voidalfr Star Mayfly120300034Rush/Scripts/c120300034.lua1
Analyze Phlogiston120226001Rush/Scripts/c120226001.lua1
Star Protector's Protection120253065Rush/Scripts/c120253065.lua1
Hybridrive Back Fusion120261052Rush/Scripts/c120261052.lua1
Madrhea Amelo120300028Rush/Scripts/c120300028.lua1
Ecliceras Drakon120109033Rush/Scripts/c120109033.lua1
Soul Drake120252007Rush/Scripts/c120252007.lua1
Excutie Lumière120231031Rush/Scripts/c120231031.lua1
Joining Chairs120151028Rush/Scripts/c120151028.lua1
Heavy Cavalry Tactics120155046Rush/Scripts/c120155046.lua1
Sword Skill - Ruler's Slash120208046Rush/Scripts/c120208046.lua1
Excutie Leya Frontier120293069Rush/Scripts/c120293069.lua1
Masenkou, the Lashing Light120238044Rush/Scripts/c120238044.lua1
Spiral Geyser120199064Rush/Scripts/c120199064.lua1
Sea Dragon Kleindros120199031Rush/Scripts/c120199031.lua1
Gatling the Shadow Flower Shinobi120170032Rush/Scripts/c120170032.lua1
Mr. Alchemy120196020Rush/Scripts/c120196020.lua1
Mezame the Ringing Alarm120199015Rush/Scripts/c120199015.lua1
Gogogo Umpire120199026Rush/Scripts/c120199026.lua1
Beast Gear King Convoy Liogon120145031Rush/Scripts/c120145031.lua1
Wrath of Light120205061Rush/Scripts/c120205061.lua1
Koumori Dragon the Magical Dragon120309011Rush/Scripts/c120309011.lua1
Rapid Carriearth120208027Rush/Scripts/c120208027.lua1
...and 46 more

Script Examples ​

Skysavior Watch (120235053) ​

Source: Rush/Scripts/c120235053.lua

lua
	end
	if Duel.GetFlagEffect(tp,m)~=0 then return end
	RD.CreateHintEffect(e,aux.Stringid(m,1),tp,1,0,RESET_PHASE+PHASE_END)
	RD.CreateAttackLimitEffect(e,cm.atktg,tp,LOCATION_MZONE,0,RESET_PHASE+PHASE_END)
	RD.CreateNoEffectDamageEffect(e,aux.Stringid(m,2),cm.damval,tp,0,1,RESET_PHASE+PHASE_END)

Voidalfr Star Mayfly (120300034) ​

Source: Rush/Scripts/c120300034.lua

lua
	end)
	if Duel.GetFlagEffect(tp,m)~=0 then return end
	RD.CreateHintEffect(e,aux.Stringid(m,1),tp,1,0,RESET_PHASE+PHASE_END)
	RD.CreateOnlySoleAttackEffect(e,20300034,tp,LOCATION_MZONE,0,RESET_PHASE+PHASE_END)
	Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)

Analyze Phlogiston (120226001) ​

Source: Rush/Scripts/c120226001.lua

lua
	end)
	if Duel.GetFlagEffect(tp,m)~=0 then return end
	RD.CreateHintEffect(e,aux.Stringid(m,1),tp,1,0,RESET_PHASE+PHASE_END)
	RD.CreateOnlySoleAttackEffect(e,20226001,tp,LOCATION_MZONE,0,RESET_PHASE+PHASE_END)
	Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)