MagiCats
Wiki home
Legacy / Legacy

Set Player Power

Changes what the player attack button does.

Legacy/internal blockBlock ID 121SetWeaponPower
Set Player Power code block in the MagiCats editor

What it does

Extracts the single action inside this block and assigns it as the player custom power.

Inputs

  • One compatible action block, such as Attack, Fireball, Frostball, Explosive Cookie, Speak, Play Sound, Emoji, Switch Gravity, or Invoke.

Try it

Set Player Power to Fireball for a wizard room.

Tips

  • Keep the new power obvious so players know what changed.

Sources

Legacy pages reviewed: SetWeaponPower

Code checked: MagiCats_UnityProject/Assets/Scripts/Blocks/Block.cs