Player Primary Skill - AlexisBliesener/Bewitched GitHub Wiki

Expel

Core Mechanic

Upon use, the player character will send out a small but impactful pulse of raw magical energy from their location towards the way they are facing, pushing any enemies in its path away from the player. The attack will be themed around soul magic which the witch's kit is designed around.

Feel/Purpose

This attack serves as area control to stop the player from getting overwhelmed/swarmed by a group of enemies. It should feel like the character is expelling magic energy to keep themselves safe. Not too strong of an attack, almost giving off the vibe that the player is using the last bit of their once powerful magic to cast this attack |

Timing/Hitbox

This will be a very short lasting attack, only lasting about a second (or maybe more or less depending on how impactful the attack ends up being). The hitbox will be a square/rectangle starting from the players location and going out about 5 units from the player (again, could change depending on level scaling), the width will be about 3 (protruding out 1 player hitbox on each side) of the players hitbox so it can also hit some enemies on the side. |

Damage

This attack will likely do no damage but if this is a feasable programming task then I would like it to do damage to an enemy if it is pushed into a wall. |

Interaction With Enemies

As mentioned, this will be almost strictly area control by pushing the enemies away, how far they get pushed will depend on the enemies size (ogres get pushed a lot less than goblins- a weight stat could be added for enemies). Also as mentioned the enemies will ideally take damage if pushed into a wall hard enough (once again, ogres would likely not take damage but goblins would |

Visual Style

Assuming I get the 3rd person perspective correctly, the camera would still be able to move. However the player would be stuck in an animation for the first half of the attack, doing a sort of shove with particles showing off the hitbox. After the player finishes this animation they will be able to move again while the wind and its visual effects persists for a little longer in the same space. Upon clicking the button for this attack, the witch would lean back and brace her arms as a windup for the attack, then push forward to expel all the soul energy from her body. |

Input System

Still working out which attack would be mapped where but presumably the primary attack and secondary attack would both be mapped to one of R or Right Click. This attack specifically would likely be bound to R and would have a decent cool down of somewhere around 5-10 seconds so that it could not be spammed, but can still be used in a pinch. |

Cooldown

The cooldown could be adjusted to make it feel more like a primary attack as 10 seconds is likely a bit long for the fast placed gameplay, but I don't want this to be spam able.