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 132
    • Issues 132
    • 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
  • #824

Closed
Open
Created Jun 07, 2022 by 0tickpulse@0tickpulse

Skill parameters do not support placeholders

Summary

Describe the bug encountered in detail.

Steps to reproduce

Provide a full set of steps used to reproduce the bug, including links to SEPARATE Pastebin pastes for each relevant configuration file.

Current behavior

If you use skill parameters, when you run the metaskill from an item/mob, you can't use placeholders for the parameters

Let's use an example:

Burn:
  Skills:
  - damage{a=<skill.damage>;type=FIRE}
  - ignite{duration=<skill.duration>*20}
Mob:
  Type: ZOMBIE
  Damage: 5
  Skills:
  - skill{s=Burn;damage=<caster.damage>*2;duration=<caster.damage>} ~onAttack

Intended correct behavior

What should happen is the skill will damage for 10 damage, and ignite for 5 seconds. However, instead, it errors out with a placeholder error.

Proposed fixes

Let it support placeholders/math/etc.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking