diff --git a/src/c/spell.c b/src/c/spell.c index 1266eec..35a53c9 100644 --- a/src/c/spell.c +++ b/src/c/spell.c @@ -43,4 +43,14 @@ SpellEffect spellRegeneration (Character *character) { regeneration.effect = SPELL_EFFECT_REGENERATION; regeneration.effectDuration = 2; return regeneration; +} + +SpellEffect spellFreeze(Character *character) { + SpellEffect freeze; + freeze.damage = 0; + freeze.healing = 0; + freeze.manaCost = 10; + freeze.effect = SPELL_EFFECT_FREEZE; + freeze.effectDuration = 2; + return freeze; } \ No newline at end of file diff --git a/src/c/spell.h b/src/c/spell.h index d9711cd..bcf4445 100644 --- a/src/c/spell.h +++ b/src/c/spell.h @@ -15,6 +15,7 @@ SpellEffect spellFireball(Character *character); SpellEffect spellHeal(Character *character); SpellEffect spellLightning(Character *character); SpellEffect spellRegeneration (Character *character); +SpellEffect spellFreeze(Character *character); #endif \ No newline at end of file