Spell Casting System

Hi,
I was wondering the best way to make a spellcasting system?, I don’t want a script writing but i want to know what is the best way to organize this task to make it efficient, I understand OOP somewhat and modules, So what would you guys recommend

Thanks for your time.

.

maybe watch this video?

Thanks for the response, I know how to code spells but don’t know how to make multiple in a modular way

Can you show me a example?
It would help me :hugs: