Bug Closed · Resolved

Arrow Bounce Back

#3237 opened by Unknown 4 years ago

Unknownreported this bug

Summary

OverchargeArrow: Skills:

  • shoot{type=ARROW;velocity=1;pickup=false;damage=50;pl=5;md=10;bounce=false} @forward{f=20}
  • sound{s=entity.arrow.shoot} @self

bounce set to false, bounces off immune mobs or players, damages caster unintentionally

Steps to reproduce

skill is short enough to paste here, use it on a player in worldguard no pvp area or invincible mob

Current behavior

arrow hits the caster back for hitting an invincible mob or a player in the way and kills the caster because of how little hp players have compared to their damage output and how much hp mobs have compared to their little damage output (not the best design choice, but I digress)

Intended correct behavior

arrow gets removed when hitting a player or an immune mob, i tried using onHit and onEnd to remove @self, but it didnt work

Server log file

mythicmobs version 5.1.0, mm premium active, dev build 32f6c0fe, im on paper 1.19

Debug log snippet

there is no debug output/error

Proposed fixes

no idea

Unknowncommented

Closing due to inactivity and major version changes. This sounds like something to first troubleshoot within our Discord support-chat to explore mechanic options for behaviors like this.

Sign in to join the discussion.