Magic

Magic

190k Downloads

What is the name for Magic Missile.

yotam1802 opened this issue · 13 comments

commented

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).

commented
commented

How do I allow magic missile to damage npcs?
Thanks for responding.

commented

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”.

commented

Thanks

commented
commented

Closed on accident but
idk if I did this correctly.
https://gyazo.com/0eb8d96130f4ef845a770e87b1bad446

commented

It looks indented, make sure that the “default” line has no space in front of it.

Otherwise that should be good.

commented

Still cant damage the npcs with magic missile.

commented

Also trying to change the cool down for the monster spell do you know how I can edit that?

commented

I met the default player

commented

Also would like to know if I can make the monster spell not attack other players

commented

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.

commented

Alright thanks