Skip to main content
Corvus Connection

On Boss Retaliation

Rpg
Trigger
Portent preview
Pro
entry.onRpgBossRetaliationFires when a boss strikes back at an attacking viewer. Binds the viewer, the boss, the damage taken, their remaining HP, and whether the hit downed them.Triggers when a boss retaliates; binds twitchUserId / displayName / bossSlug / damageTaken / remainingHp / downed.
EngagementAlerts

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
twitchUserId
Data
System.String
multiplexed
displayName
Data
System.String
multiplexed
bossSlug
Data
System.String
multiplexed
damageTaken
Data
System.Int64
multiplexed
remainingHp
Data
System.Int64
multiplexed
downed
Data
System.Boolean
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    twitchUserId
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    displayName
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    bossSlug
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    damageTaken
    Kind
    Data
    Type
    System.Int64
    Flags
    multiplexed
  • Name
    remainingHp
    Kind
    Data
    Type
    System.Int64
    Flags
    multiplexed
  • Name
    downed
    Kind
    Data
    Type
    System.Boolean
    Flags
    multiplexed

Bindings

Name
Type
Description
twitchUserId
System.String
The attacking viewer's Twitch user id.
displayName
System.String
The attacking viewer's display name.
bossSlug
System.String
The slug of the boss that struck back.
damageTaken
System.Int64
How much HP the viewer lost to the retaliation.
remainingHp
System.Int64
The viewer's HP after the retaliation.
downed
System.Boolean
True when this hit downed the viewer.
  • Name
    twitchUserId
    Type
    System.String
    Description
    The attacking viewer's Twitch user id.
  • Name
    displayName
    Type
    System.String
    Description
    The attacking viewer's display name.
  • Name
    bossSlug
    Type
    System.String
    Description
    The slug of the boss that struck back.
  • Name
    damageTaken
    Type
    System.Int64
    Description
    How much HP the viewer lost to the retaliation.
  • Name
    remainingHp
    Type
    System.Int64
    Description
    The viewer's HP after the retaliation.
  • Name
    downed
    Type
    System.Boolean
    Description
    True when this hit downed the viewer.

Parameters

Name
Type
Required
Default
Choices
cooldownSeconds
System.Int32
no
0
None
perUserCooldownSeconds
System.Int32
no
0
None
debounceMs
System.Int32
no
0
None
dedupeKey
System.String
no
\u0022\u0022
None
maxConcurrency
System.Int32
no
0
None
  • Name
    cooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    perUserCooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    debounceMs
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    dedupeKey
    Type
    System.String
    Required
    no
    Default
    \u0022\u0022
    Choices
    None
  • Name
    maxConcurrency
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None

Lowers to C#

[OnBossRetaliation] Handle(ctx, BossRetaliationContext e)

Used in