mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Fixed Curiosity bug where two cards could be drawn.
This commit is contained in:
@@ -41,10 +41,13 @@ public class PlayerLife extends MyObservable implements java.io.Serializable
|
||||
public void subtractLife(int life2, Card SourceCard)
|
||||
{
|
||||
life -= life2;
|
||||
//unnecessary (I think?), since the addDamage methods in GameAction already check this:
|
||||
/*
|
||||
Object[] DealsDamage_Whenever_Parameters = new Object[3];
|
||||
DealsDamage_Whenever_Parameters[0] = player;
|
||||
DealsDamage_Whenever_Parameters[2] = SourceCard;
|
||||
AllZone.GameAction.CheckWheneverKeyword(playerCard, "DealsDamage", DealsDamage_Whenever_Parameters);
|
||||
*/
|
||||
this.updateObservers();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user