sIKE23 / Mage-Wars

Mage Wars for OCTGN
7 stars 5 forks source link

Need a way to indicate an Enchantment is attached to an Enchantment #344

Open sIKE23 opened 8 years ago

sIKE23 commented 8 years ago

Arcane Ward can target an Enchantment we need a way to indicate that an attachment is attached to a Enchantment. Two thoughts is to use card.filter (which would have an interaction the processUpkeep function which utilizes card.filter) or we offset the attachment to the left or right of the target. Any other ideas are welcome too.....

ACG8 commented 8 years ago

I wish this weren't a thing, but I guess there had to be this sort of attachment eventually. Best bet is probably just offset in a different direction. Maybe diagonal, or left.

sIKE23 commented 8 years ago

I was thinking on the opposite side of from where you did mount. Diagonal I hadn't thought of. might work would want to see it before I made up my mind to go in that direction.

//FC

On Fri, Feb 19, 2016 at 1:32 PM, Ananda notifications@github.com wrote:

I wish this weren't a thing, but I guess there had to be this sort of attachment eventually. Best bet is probably just offset in a different direction. Maybe diagonal, or left.

— Reply to this email directly or view it on GitHub https://github.com/sIKE23/Mage-Wars/issues/344#issuecomment-186370254.

sIKE23 commented 8 years ago

@ACG8

http://forum.arcanewonders.com/index.php?topic=16734.msg68339#msg68339

Thoughts?

ACG8 commented 8 years ago

Rotating the enchantments is annoying, but probably doable.

It probably wouldn't be that hard to have the bc assume that enchantments not on the board are attached to a mage. The issue, of course, is determining which one (since buffs go on friendly mages and debuffs go on enemy mages); we can't just assume that each enchantment is attached to its owner. We could follow the suggestion of defining a specific region, but that means significantly more complicated map creation code, since for irregular maps and multiplayer games we need to automatically define the zones-overall, probably more trouble than it is worth.

sIKE23 commented 8 years ago

I was just concerned about the rotated card, if people want to play cards to the side of the board, they can turn off attachments....

//FC

On Thu, Apr 14, 2016 at 3:46 PM, Ananda notifications@github.com wrote:

Rotating the enchantments is annoying, but probably doable.

It probably wouldn't be that hard to have the bc assume that enchantments not on the board are attached to a mage. The issue, of course, is determining which one (since buffs go on friendly mages and debuffs go on enemy mages); we can't just assume that each enchantment is attached to its owner. We could follow the suggestion of defining a specific region, but that means significantly more complicated map creation code, since for irregular maps and multiplayer games we need to automatically define the zones-overall, probably more trouble than it is worth.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/sIKE23/Mage-Wars/issues/344#issuecomment-210141777

ACG8 commented 8 years ago

We could also recognize attachments attached to the mage stats card.

Rotated card will need to be handled at the moment the enchantment is attached, rather than upon update following movement of the card, since the game cannot recognize the orientation of the card.

sIKE23 commented 8 years ago

rotation = card.orientation return rotation

2

On Thu, Apr 14, 2016 at 3:52 PM, Ananda notifications@github.com wrote:

We could also recognize attachments attached to the mage stats card.

Rotated card will need to be handled at the moment the enchantment is attached, rather than upon update following movement of the card, since the game cannot recognize the orientation of the card.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/sIKE23/Mage-Wars/issues/344#issuecomment-210144330

ACG8 commented 8 years ago

Oh. Cool, did not know that.

sIKE23 commented 8 years ago

Honestly I much more (In my opinion and desires) stuff I want/need you to do in regards to placing cards to the side of the board or attached to the Stats Card. I am looking at with #349 and #351 to moving Mage Stats back on to the mage stats card. Why? Dealing with alt mage art is a pain in the arse. This way all of it will be on the stats card.