sIKE23 / Mage-Wars

Mage Wars for OCTGN
7 stars 5 forks source link

Rework card attachment system and add mount-type attachment #318

Closed sIKE23 closed 8 years ago

sIKE23 commented 8 years ago

My thoughts for the mechanic is to create a 3 style of attaching cards to one another. With have AttachCard, BindCard, and we would add MountCard.

It would work much like Bind, a legal Mounter and Mount, Draw Arrow from Mounter to Mount, prompt does {mage} wish to mount {creature}? If yes, move the mounting mages card with its right edge touching the left edge of the mounts card.

ACG8 commented 8 years ago

Sure. I've been thinking it is about time to redo the card attachment functions anyway; I had a nice idea for a recursive alignment function.

sIKE23 commented 8 years ago

Sounds interesting, I know you have redone the targeting aspect of it already. Does that work for bindings also?

ACG8 commented 8 years ago

No, not yet. Bindings are still hardcoded.

sIKE23 commented 8 years ago

getting this error

Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'remoteAlign' is not defined
remoteAlign([{'Y': -250.0, 'X': -154.0, 'cardId': 196639, 'prevCardIds': [131078]}],[Player(2),Player(3)])
sIKE23 commented 8 years ago

@ACG8 Ignore this they were playing with different versions of the script.

ACG8 commented 8 years ago

Okay, the first implementation of mount is done. It is crude, but it works.

sIKE23 commented 8 years ago

Looks good for now...