module.exports = {
	type: 'invulnerability',

	events: {
		beforeDealDamage: function (damage) {
			if (damage)
				damage.amount = 0;
		},

		beforeTakeDamage: function (damage, source) {
			damage.amount = 0;
		}
	}
};
