// Function from file: armor.dm public override bool hit_reaction(Mob_Living_Carbon owner = null, string attack_text = null, int?final_block_chance = null, dynamic damage = null, int?attack_type = null) { Mob_Living_Carbon C = null; if (!this.active) { return(false); } if (Rand13.PercentChance(this.hit_reaction_chance)) { owner.visible_message("<span class='danger'>The " + this + " blocks the " + attack_text + ", sending out jets of flame!</span>"); foreach (dynamic _a in Lang13.Enumerate(Map13.FetchInRange(owner, 6), typeof(Mob_Living_Carbon))) { C = _a; if (C != owner) { C.fire_stacks += 8; C.IgniteMob(); } } owner.fire_stacks = -20; return(true); } return(false); }
// Function from file: singularity.dm public void combust_mobs( ) { Mob_Living_Carbon C = null; foreach (dynamic _a in Lang13.Enumerate(GlobalFuncs.ultra_range(20, this, true), typeof(Mob_Living_Carbon))) { C = _a; C.visible_message("<span class='warning'>" + C + "'s skin bursts into flame!</span>", "<span class='userdanger'>You feel an inner fire as your skin bursts into flames!</span>"); C.adjust_fire_stacks(5); C.IgniteMob(); } return; }