Пример #1
0
    public static void NighInvulnerable()
    {
        massabset(0, 24);
        var necklace = GameSystems.MapObject.CreateObject(6239, PartyLeader.GetLocation());
        var sword1   = GameSystems.MapObject.CreateObject(4599, PartyLeader.GetLocation());
        var sword2   = GameSystems.MapObject.CreateObject(4599, PartyLeader.GetLocation());
        var helm     = GameSystems.MapObject.CreateObject(6036, PartyLeader.GetLocation());

        necklace.AddConditionToItem("Ring of freedom of movement", 0, 0);
        necklace.AddConditionToItem("Amulet of Mighty Fists", 5, 5);
        necklace.AddConditionToItem("Weapon Enhancement Bonus", 5, 0);
        // necklace.item_condition_add_with_args( 'Weapon Holy', 0, 0 )
        // necklace.item_condition_add_with_args( 'Weapon Lawful', 0, 0 )
        necklace.AddConditionToItem("Weapon Silver", 0, 0);
        // necklace.condition_add_with_args( 'Thieves Tools Masterwork', 0, 0)
        // sword.item_condition_add_with_args( 'Weapon Lawful', 0, 0 )
        // sword.item_condition_add_with_args( 'Weapon Silver', 0, 0 )
        PartyLeader.GetItem(necklace);
        PartyLeader.GetItem(sword1);
        PartyLeader.GetItem(sword2);
        PartyLeader.GetItem(helm);
        PartyLeader.AddCondition("Monster Regeneration 5", 0, 0);
        PartyLeader.AddCondition("Monster Subdual Immunity", 0, 0);
        PartyLeader.AddCondition("Monster Energy Immunity", "Fire", 0);
        PartyLeader.AddCondition("Monster Energy Immunity", "Cold", 0);
        PartyLeader.AddCondition("Monster Energy Immunity", "Electricity", 0);
        PartyLeader.AddCondition("Monster Energy Immunity", "Acid", 0);
        PartyLeader.AddCondition("Monster Confusion Immunity", 0, 0);
        PartyLeader.AddCondition("Monster Stable", 0, 0);
        PartyLeader.AddCondition("Monster Untripable", 0, 0);
        PartyLeader.AddCondition("Monster Plant", 0, 0);
        PartyLeader.AddCondition("Monster Poison Immunity", 0, 0);
        PartyLeader.AddCondition("Saving Throw Resistance Bonus", 0, 10);
        PartyLeader.AddCondition("Saving Throw Resistance Bonus", 1, 10);
        PartyLeader.AddCondition("Saving Throw Resistance Bonus", 2, 10);
        PartyLeader.AddCondition("Weapon Holy", 0, 0);
        PartyLeader.AddCondition("Weapon Lawful", 0, 0);
        PartyLeader.AddCondition("Weapon Silver", 0, 0);
        PartyLeader.SetInt(obj_f.speed_run, 2);
        PartyLeader.AdjustMoney(+90000000);
        AttachParticles("Orb-Summon-Air-Elemental", PartyLeader);
        return;
    }