FreezingMoon / AncientBeast

The Turn Based Strategy Game/eSport. Master your beasts! 🐺
https://AncientBeast.com
GNU Affero General Public License v3.0
1.69k stars 587 forks source link

[Issue-2542] Whip move interaction with plasma fielded dark priest #2625

Closed Changh341 closed 2 months ago

Changh341 commented 2 months ago

This fixes issue #2542

My wallet address is 0x959E79438e522308587C3687d06bC3A467820119

Issue summary Rework Headless' whip move to prevent enemy dark priest to be moved when plasma field is up and deal counter damage to headless if upgraded field. Ability should still work on friendies.

Actions taken I added a new logical condition to whip move in headless.ts checking for enemy plasma fielded dark priest which prevents the movement and added a point of damage for the ability to trigger shielded and counter.

Preview Recording 2024-09-24 at 14 07 54

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ancientbeast ✅ Ready (Inspect) Visit Preview Sep 25, 2024 3:58am
Changh341 commented 2 months ago

I am not quite sure how to test if the conditional works on a XatteR shield proc. But I wanted to push what I have so far and get some feedback if this is an acceptable solution

DreadKnight commented 2 months ago

I am not quite sure how to test if the conditional works on a XatteR shield proc. But I wanted to push what I have so far and get some feedback if this is an acceptable solution

@Changh341 From what I can see in the gif, it's all good. Anyway, gonna test it in a bit. XatteR will eventually be implemented as an optional alternative to the free Plasma for online multiplayer matches as it will be a way to validate the legibility of moves, so a secure match will cost a little bit of XatteR, that way we can scale online multiplayer big time without stressing out regarding server costs and also decentralize things, by having players farm some XatteR by verifying moves; that's the plan at least. Online multiplayer matches using Plasma will be pure p2p and more prone to cheating.

DreadKnight commented 2 months ago

Tested this a bit, seems to works well. Good job! Merging right away. Bounty sent with bonus -> https://www.mintme.com/explorer/tx/0x1a5f7baeb02f6b61246292590eaa98d32d5bc647da206311f757f90bc4899820 🪙