Kosm0-o / DraconicDestroyer

Modified Text RPG from FreeCodeCamp
https://kosm0-o.github.io/DraconicDestroyer/
0 stars 0 forks source link

dodging option really useful? #15

Open Loststar3 opened 2 months ago

Loststar3 commented 2 months ago

i don't think the dodge mechanic is a good option as so far all it does is just tell you that you dodged, and nothing else, no damage applied, buffs, or anything, its just nothing really, so i propose you make it divide the next attack by 1/2 or 1/4 so it has some worth, but you could still get normal damage while in this mode, the code is simple, it applies that next hit from monster will be 1/2 or 1/4 (add a check statement in the monster attack) and you could still be hit with normal damage from the monster (make an rng be a 1-2 and if it lands 2 then you take normal damage but still get the dodge for the next attack) and finally make it add 1 to the dodge counter, and add a check inside that if dodge counter 1, don't add 1, but it will still do the rng for the attack from the monster, i guess if you wanted to not attack and instead just dodge twice?

Loststar3 commented 2 months ago

the check in the monster attack will be checking if the dodge counter is 1, if it is, subtract 1 and then divide by 1/4 or 1/2 for the damage.