keep-starknet-strange / tsubasa

Tsubasa onchain game built with Dojo, running on a Starknet Appchain.
https://play.tsubasa.win
MIT License
59 stars 30 forks source link

Implement card buff if it's placed in its role #24

Closed 0xLucqs closed 1 year ago

0xLucqs commented 1 year ago

Description

Each card has a specific role, if a card is placed on the corresponding role on the field it has a +1/+1 buff. For example if a 3/4 goalkeeper is placed on the goalkeeper slot it'll be buffed to 4/5.

Acceptance criteria

Matth26 commented 1 year ago

Can I take this one?

0xLucqs commented 1 year ago

Any news there ?

Matth26 commented 1 year ago

I was waiting for the #23 to be completed in order to have the data structure about card placement. But maybe I missed something. I wanted to add this in the end_turn system, after the card is placed check if the placement match the card's role and boost the card if so.

0xLucqs commented 1 year ago

cool reassigning it to you, i'll do the place card today

0xLucqs commented 1 year ago

hey any progress here ? You just need to a match in the place card system and increase the stats if the 2 roles match

Matth26 commented 1 year ago

Yes sorry I was waiting for the code where cards are placed on the field (at the start of next turn) but it was not required