예제 #1
0
        // 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;
        }
예제 #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);
        }