Commit graph

16 commits

Author SHA1 Message Date
teknomunk
76d654762a Fix luacheck findings for this PR: remove unused variables, remove overwritten value, add missing dependencies, fix undefined variable usage 2024-11-12 01:00:42 +01:00
teknomunk
6adef58bc4 Remove debug print 2024-11-12 01:00:42 +01:00
teknomunk
a3cfb0c0c4 Convert rocket to use vl_projectile API using mcl_bows:arrow as a template, remove some dead code 2024-11-12 01:00:42 +01:00
teknomunk
d2a49799ae Change over internal name so that /spawn_mob works 2024-05-05 16:22:19 +00:00
the-real-herowl
4b6d63739c Fix a crash with rocket explosion
Defensive check
2024-03-20 19:13:44 -05:00
cora
c6fc388597 Add _harmless option for rocket arrows
so event fireworks dont grief things
2022-11-26 17:06:04 +01:00
cora
0d354cca73 Fix crash when shooting crystals with rocket arrow 2022-09-13 17:08:57 +00:00
iliekprogrammar
156aff21a1
[5.6][bows] fix unsafe entity handling for arrows 2022-08-07 12:48:09 +08:00
iliekprogrammar
221ee0fcf1
[5.6] mark places with unsafe set_hp entity handling
There might be other places i might be missing, but these are the obvious ones.

leftover entity handling i did not mark:
* everything that involves a apply()-like algorithm (e.g. callbacks) over the
  same list of objects.
* in mcl_damage, it's not known whether mcl_damage.from_mt() would involve
  entity handling or just player handling.
2022-08-07 00:13:03 +08:00
cora
bf23c61e34 skip damage completely when player & pvp disabled 2022-07-16 12:12:28 +00:00
cora
b7f8a75d04 Add PVP check for rocket arrows 2022-07-16 12:12:28 +00:00
epCode
6bc5e76b8f fix tipped arrows and rocket 2022-06-10 19:40:12 -07:00
cora
ef093d0c00 Be more careful with possibly expired objects 2022-06-04 20:26:00 +02:00
Elias Fleckenstein
e0f70b54ec Remove _cmi_is_mob 2022-05-25 23:13:33 +02:00
AFCMS
5a7b1cc382
make all arrow types activate target (+ depends and code fixes) 2022-02-26 23:52:03 +01:00
epCode
1c458a2e72 Add crossbows 2021-10-15 12:00:37 -07:00