// Function from file: runes.dm
        public override void invoke(dynamic user = null)
        {
            Mob_Living_Carbon C = null;
            dynamic           T = null;

            this.visible_message("<span class='warning'>" + this + " burns away, scorching the floor below!</span>");

            foreach (dynamic _a in Lang13.Enumerate(Map13.FetchViewers(null, this), typeof(Mob_Living_Carbon)))
            {
                C = _a;


                if (!GlobalFuncs.iscultist(C) && !Lang13.Bool(C.null_rod_check()))
                {
                    C.WriteMsg("<span class='cultlarge'>You feel your skin crisp as you burst into flames!</span>");
                    C.fire_act();
                }
            }
            user.apply_damage(15, "fire", Rand13.Pick(new object [] { "l_arm", "r_arm" }));
            user.WriteMsg("<span class='cultitalic'>" + this + " burns your arms!</span>");
            T = GlobalFuncs.get_turf(this);
            ((Tile_Simulated)T).burn_tile();
            GlobalFuncs.qdel(this);
            return;
        }
Exemple #2
0
        // Function from file: talisman.dm
        public override bool invoke(dynamic user = null)
        {
            Mob_Living_Carbon C = null;

            ((Ent_Static)user).visible_message(new Txt("<span class='warning'>").The(this).item().str(" in ").item(user).str("'s hand suddenly burns away in a red flash!</span>").ToString(), "<span class='cultitalic'>You speak the words of the talisman, setting your enemies on fire.</span>");

            foreach (dynamic _a in Lang13.Enumerate(Map13.FetchViewers(null, user), typeof(Mob_Living_Carbon)))
            {
                C = _a;


                if (!GlobalFuncs.iscultist(C) && !Lang13.Bool(C.null_rod_check()))
                {
                    C.WriteMsg("<span class='cultlarge'>You feel your skin crisp as you burst into flames!</span>");
                    C.fire_act();
                }
            }
            return(false);
        }
Exemple #3
0
        // Function from file: runes.dm
        public override void invoke(dynamic user = null)
        {
            Mob_Living_Carbon C = null;
            dynamic           N = null;
            Mob_Living_Carbon M = null;

            this.visible_message("<span class='warning'>" + this + " briefly bubbles before exploding!</span>");

            foreach (dynamic _a in Lang13.Enumerate(Map13.FetchViewers(null, this), typeof(Mob_Living_Carbon)))
            {
                C = _a;


                if (!GlobalFuncs.iscultist(C))
                {
                    N = C.null_rod_check();

                    if (Lang13.Bool(N))
                    {
                        C.WriteMsg(new Txt("<span class='userdanger'>").The(N).item().str(" suddenly burns hotly before returning to normal!</span>").ToString());
                        continue;
                    }
                    C.WriteMsg("<span class='cultlarge'>Your blood boils in your veins!</span>");
                    C.take_overall_damage(51, 51);
                }
            }

            foreach (dynamic _b in Lang13.Enumerate(Map13.FetchInRange(this, 1), typeof(Mob_Living_Carbon)))
            {
                M = _b;


                if (GlobalFuncs.iscultist(M))
                {
                    M.apply_damage(15, "brute", Rand13.Pick(new object [] { "l_arm", "r_arm" }));
                    M.WriteMsg("<span class='cultitalic'>" + this + " saps your strength!</span>");
                }
            }
            GlobalFuncs.explosion(GlobalFuncs.get_turf(this), -1, 0, 1, 5);
            GlobalFuncs.qdel(this);
            return;
        }
Exemple #4
0
        // Function from file: runes.dm
        public override void invoke(dynamic user = null)
        {
            Mob_Living_Carbon C = null;

            this.visible_message("<span class='warning'>" + this + " emits a blinding red flash!</span>");

            foreach (dynamic _a in Lang13.Enumerate(Map13.FetchViewers(null, this), typeof(Mob_Living_Carbon)))
            {
                C = _a;


                if (!GlobalFuncs.iscultist(C) && !Lang13.Bool(C.null_rod_check()))
                {
                    C.WriteMsg("<span class='cultlarge'>You feel oily shadows cover your senses.</span>");
                    C.adjustEarDamage(0, 50);
                    C.flash_eyes(1, true);
                    C.adjust_blurriness(50);
                    C.adjust_blindness(20);
                    C.silent += 10;
                }
            }
            GlobalFuncs.qdel(this);
            return;
        }