MagiCats
Wiki home
Actions / Basic

Set Damage

Changes how much damage the subject deals.

Current editor blockBlock ID 115SetDamage
Set Damage code block in the MagiCats editor

What it does

Updates the damage value used by the subject attacks.

Inputs

  • Damage amount.

Try it

Set Damage 1 for a warning enemy, or 5 for a serious boss hit.

Tips

  • Balance damage with health so the level feels hard but readable.

Sources

Legacy pages reviewed: SetDamage

Code checked: MagiCats_UnityProject/Assets/Scripts/Blocks/ContentFonction.cs, MagiCats_UnityProject/Assets/Scripts/Blocks/BlockManager.cs