JoCaNo-Productions / flat-land

1 stars 0 forks source link

How 'magic' works #2

Closed nmay231 closed 5 years ago

nmay231 commented 5 years ago

How exactly will 'Magic' work? Clearly, Player.mana will be the currency and Player.magic_regen the speed of mana regen (should we change the name to that: mana_regen). However, the following confuses me as to their exact usage:

nmay231 commented 5 years ago

Hey @calebmrose00

calebmrose00 commented 5 years ago

they are both multiplicative and they both effect magic. the Player.magicpower is the positive multiplayer for the caster of the ability. eg more attack damage, more health, ect. the Player.magicresist reduces negative effects such as damage or slow

calebmrose00 commented 5 years ago

also feel free to add, or change variable names to make them more clear

calebmrose00 commented 5 years ago

Hey @nmay231

nmay231 commented 5 years ago

Got it @calebmrose00.