theishiopian / Parrying

A mod about deflecting blows (and inflicting your own)
6 stars 5 forks source link

[suggestions] more mechanics? stamina system, counterattack, etc #13

Closed k1r0s closed 2 years ago

k1r0s commented 2 years ago

stamina and armor

stamina can be used to perform following actions. If no stamina, these actions would be denied:

stamina system would be great as its regeneration can be determined by the type of armor (amount of defense = more defense, more heavier armor)

melee

theishiopian commented 2 years ago

Interesting ideas, I'll think about them

k1r0s commented 2 years ago

to elaborate a bit on the Counterattack mechanic:

Should be a way to counter consecutive parrying. In real sword combat, tempo is crucial, by reading the timing of your opponent you can make him lose balance by driving his attack to the ground. This mechaninc might seem quite advanced but it should be straightforward to implement and very fun to play around!

This feature will need to include a right click action for swords and some animation tweak like tilting the sword:

imagen

We need this bcoz it will be relevant for the attacker to know that the defender issued a counterattack, bcoz if that fails the attacker will be able to punish.

A counterattack is issued by right clicking while holding a sword, the counterattack position spans for 1 second. The defender, while in this position, can hold any direction key (WASD) to drive the incoming attack. If the defender is attacked while in counterattack position the attacker is pushed to whatever direction the defender was holding.

In order to code this I thought on listening the LivingHurtEvent event for pvp damage and check if the target entitiy is in counterattack position. Then apply those bad effects to the source.

theishiopian commented 2 years ago

It seems to me the underlying issue is that parrying over and over feels unfair. A lot of other people feel the same way. While I think counterattacks are too complex, I have a plan for countering repeated parries, as well as tying it into my plans for shield balance and tweaking. Its sort of like your stamina idea but not quite.

k1r0s commented 2 years ago

ok, np. I would like to try that out. In didn't had time either to submit a PR on this since it requires more time and expertise..

theishiopian commented 2 years ago

I have already started working on my solution, though input is appreciated.