Skip to content

[BUG] Argument "self_as_victim" not work or mutators: - id: player_as_victim not work. #21

Description

@Futodama

self_as_victim - not worked.

To Reproduce
effects:

  • id: damage_nearby_entities
    args:
    damage: 2
    radius: 25
    damage_as_player: true
    damage_self: false
    triggers:
    • alt_click
  • id: strike_lightning
    args:
    amount: 1
    damage: 15
    self_as_victim: true
    delay: 1
    mutators:
    • id: player_as_victim
      triggers:
    • kill
  • id: spawn_particle
    args:
    particle: portal
    amount: 100
    triggers:
    • kill

Expected behavior
I expect that, when killing any creature with the "damage_nearby_entities" effect, with the "damage_as_player" argument (damage from a player who has a talisman in his hands), lightning will strike the player holding the talisman from the "strike_lightning" effect with the "self_as_victim" parameter (the player as a target), and the "player_as_victim" mutator (as suggested by the support with Discord).

Server Information (please complete the following information):

  • Version: Paper version git-Paper-265 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT) (Git: 993f828)
  • Version of plugin and eco: > eco version 6.29.2, Talismans version 5.35.0

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions