Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 148
    • Issues 148
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #813

Closed
Open
Created May 29, 2022 by 0tickpulse@0tickpulse

LivingInCone Targeter Range doesn't support placeholders

Summary

In the @LivingInCone targeter, the range parameter doesn't support the usage of placeholders.

Steps to reproduce

  1. Create a skill:
MeleeWeaponSwing:
  Skills:
  - damage{a=1} @EIC{a=95;r=<skill.range>}
  1. Create a mythicitem with this:
Test:
  Id: IRON_SWORD
  Display: '&8« <#f4466c>&lTest &8»'
  Hide:
  - ATTRIBUTES
  CustomDurability:
    Durability: 4100
  Attributes:
    MainHand:
      Damage: -5
      AttackSpeed: 21
  Skills:
  - skill{s=MeleeWeaponSwing;range=5} ~onSwing

Current behavior

It hits the enemy if it's within 16 blocks (default @EIC range)

Intended correct behavior

It should've hit the enemy ONLY if it's within 5 blocks.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking