forked from External/mage
refactored Player.setLife() to include source, some more changes
This commit is contained in:
parent
2205db105f
commit
3c2a8ee17d
41 changed files with 120 additions and 133 deletions
|
|
@ -112,7 +112,9 @@ public interface Player extends MageItem, Copyable<Player> {
|
|||
|
||||
void initLife(int life);
|
||||
|
||||
void setLife(int life, Game game);
|
||||
void setLife(int life, Game game, Ability source);
|
||||
|
||||
void setLife(int life, Game game, UUID sourceId);
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -125,6 +127,8 @@ public interface Player extends MageItem, Copyable<Player> {
|
|||
|
||||
int gainLife(int amount, Game game, Ability source);
|
||||
|
||||
int gainLife(int amount, Game game, UUID sourceId);
|
||||
|
||||
int damage(int damage, UUID sourceId, Game game, boolean combatDamage, boolean preventable);
|
||||
|
||||
int damage(int damage, UUID sourceId, Game game, boolean combatDamage, boolean preventable, List<UUID> appliedEffects);
|
||||
|
|
@ -427,6 +431,7 @@ public interface Player extends MageItem, Copyable<Player> {
|
|||
PlanarDieRoll rollPlanarDie(Game game);
|
||||
|
||||
PlanarDieRoll rollPlanarDie(Game game, ArrayList<UUID> appliedEffects);
|
||||
|
||||
PlanarDieRoll rollPlanarDie(Game game, ArrayList<UUID> appliedEffects, int numberChaosSides, int numberPlanarSides);
|
||||
|
||||
@Deprecated
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue