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 145
    • Issues 145
    • 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
  • #890

Closed
Open
Created Aug 06, 2022 by Wortho27@Wortho27

totem with limited charges that hits an entity as soon as it spawns activates onHit but does not remove a charge

Summary My totem with charges=1 when spawned within range of a mob activates and damages the mob, but does not remove the charge. A totem will use up a charge when it does not onHit on the first tick, normally.

Steps to reproduce Use skill file: https://pastebin.com/PyhrmcNE Spawn a totem under a stationary mob with /mm test cast WSP_Landmine A landmine should appear at the location of the cursor. When the landmine activates after two seconds, it will activate another 'armed' totem. When this totem with one charge spawns, and a mob is in range, it will execute its onHit skill, but will not destroy the totem. Observe as the totem activates and detonates; it does not use up a charge if it explodes on the first tick.

Current behavior Totems can execute their onHit meta-skill on the first tick and not consume a charge.

Intended correct behavior Triggering onHit should always consume a charge,.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking