What is the name for Magic Missile.
yotam1802 opened this issue · 13 comments
Whenever I try to give a wand the spell Magic Missile it says it's invalid. Can you suggest what its called when I do /wand add (spell).
To make all spells target npcs add to spells.yml
default:
parameters:
target_npc: true
If you just want magic missile, use “missile” instead of “default”.
Did I do this correctly?
https://gyazo.com/0eb8d96130f4ef845a770e87b1bad446
Closed on accident but
idk if I did this correctly.
https://gyazo.com/0eb8d96130f4ef845a770e87b1bad446
It looks indented, make sure that the “default” line has no space in front of it.
Otherwise that should be good.
Also trying to change the cool down for the monster spell do you know how I can edit that?
Also would like to know if I can make the monster spell not attack other players
plugins/Magic/spells.yml should look like this, no indentation:
https://i.imgur.com/A1hMJV0.png
If you do it like that, spells can hit NPCs. Otherwise they go right through them. I just tried it myself to be sure.
Change cooldowns in that same file like this:
monster:
parameters:
cooldown: 1000
Magic has no direct support for modded mobs, it just spawns vanilla mobs who will behave as normal.