Added self-sacrifice upgrade to living armour.
This commit is contained in:
parent
dceec15750
commit
b74ed8d431
9 changed files with 220 additions and 23 deletions
|
@ -9,14 +9,16 @@ public class SacrificeKnifeUsedEvent extends Event
|
|||
{
|
||||
public final EntityPlayer player;
|
||||
public final int healthDrained;
|
||||
public int lpAdded;
|
||||
public boolean shouldDrainHealth;
|
||||
public boolean shouldFillAltar;
|
||||
|
||||
public SacrificeKnifeUsedEvent(EntityPlayer player, boolean shouldDrainHealth, boolean shouldFillAltar, int hp)
|
||||
public SacrificeKnifeUsedEvent(EntityPlayer player, boolean shouldDrainHealth, boolean shouldFillAltar, int hp, int lpAdded)
|
||||
{
|
||||
this.player = player;
|
||||
this.shouldDrainHealth = shouldDrainHealth;
|
||||
this.shouldFillAltar = shouldFillAltar;
|
||||
this.healthDrained = hp;
|
||||
this.lpAdded = lpAdded;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue