rendered paste body#Acid shield effectevent_hooks = ON_DAMAGE, ON_DEATH, ON_TIMERon_apply(): ent.temp.str += 3 ent.temp.con += 2on_clear(): ent.temp.str -= 3 ent.temp.con -= 2acid_shield_on_damage(damager): damager.applyDamage(20,DAMAGE_TYPE_ACID) this.remaining_strength-=20 if(this.remaining_strength < 1) this.on_clear():check_remaining_time() this.time-=1 if this.time <1: this.on_clear()main(event): switch (event): case ON_DEATH: this.on_clear() case ON_DAMAGE: acid_shield_on_damage(ON_DAMAGE.source) case ON_TIMER: check_remaining_time()