This commit is contained in:
sigonasr2 2016-08-04 00:18:10 -05:00
parent c9c7f11d2a
commit 5eaea8ae5d
4 changed files with 6 additions and 2 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
name: TwosideKeeper name: TwosideKeeper
main: sig.plugin.TwosideKeeper.TwosideKeeper main: sig.plugin.TwosideKeeper.TwosideKeeper
version: 3.7.3br1 version: 3.7.3br2
commands: commands:
money: money:
description: Tells the player the amount of money they are holding. description: Tells the player the amount of money they are holding.

View File

@ -4010,6 +4010,10 @@ public class TwosideKeeper extends JavaPlugin implements Listener {
ev.setDamage(DamageModifier.BASE,storeddmg-CUSTOM_DAMAGE_IDENTIFIER); ev.setDamage(DamageModifier.BASE,storeddmg-CUSTOM_DAMAGE_IDENTIFIER);
ev.setDamage(storeddmg-CUSTOM_DAMAGE_IDENTIFIER); ev.setDamage(storeddmg-CUSTOM_DAMAGE_IDENTIFIER);
log("New Damage: "+ev.getFinalDamage(),4); log("New Damage: "+ev.getFinalDamage(),4);
if (ev.getEntity() instanceof Monster &&
ev.getDamager() instanceof Player) {
NewCombat.addMonsterToTargetList((Monster)ev.getEntity(), (Player)ev.getDamager());
}
} else { } else {
double dmg = 0.0; double dmg = 0.0;
if (ev.getEntity() instanceof Player) { if (ev.getEntity() instanceof Player) {