
var Base = require("../plugin");

module.exports = class extends Base {
  onBattleStart(self, rival) {
    if (self.getCurrentHp() >= rival.getCurrentHp() + 3) {
      return this.logAfterModStat(self, rival, {combat_buff_res: 4}, null);
    } else {
      return null;
    }
  }
}