コード例 #1
0
ファイル: Storage.cs プロジェクト: sgtnasty/battle
        public static List <PowerDefinition> LoadPowers(string xmlfile)
        {
            List <PowerDefinition> powers = new List <PowerDefinition>();
            XPathDocument          doc    = new XPathDocument(xmlfile);
            XPathNavigator         nav    = doc.CreateNavigator();

            foreach (XPathNavigator n in nav.Select("/battle/powers/power"))
            {
                PowerDefinition p     = new PowerDefinition();
                string          name  = n.GetAttribute("name", "");
                string          descr = n.GetAttribute("description", "");
                p.Name        = name;
                p.Description = descr;
                foreach (XPathNavigator n2 in n.Select("provides"))
                {
                    p.Provide(n2.GetAttribute("value", ""));
                }
                foreach (XPathNavigator n3 in n.Select("requires"))
                {
                    p.Require(n3.GetAttribute("value", ""));
                }
                powers.Add(p);
            }
            return(powers);
        }
コード例 #2
0
ファイル: HolyShield.cs プロジェクト: Evad-lab/ServUOX
 public HolyShield()
 {
     m_Definition = new PowerDefinition(
         20,
         "Holy Shield",
         "Erstok K'blac",
         "");
 }
コード例 #3
0
ファイル: HolyWord.cs プロジェクト: Evad-lab/ServUOX
 public HolyWord()
 {
     m_Definition = new PowerDefinition(
         100,
         "Holy Word",
         "Erstok Oostrac",
         "");
 }
コード例 #4
0
ファイル: UnholyWord.cs プロジェクト: Evad-lab/ServUOX
 public UnholyWord()
 {
     m_Definition = new PowerDefinition(
         100,
         "Unholy Word",
         "Velgo Oostrac",
         "");
 }
コード例 #5
0
ファイル: UnholySense.cs プロジェクト: Evad-lab/ServUOX
 public UnholySense()
 {
     m_Definition = new PowerDefinition(
         0,
         "Unholy Sense",
         "Drewrok Velgo",
         "");
 }
コード例 #6
0
 public HolySense()
 {
     m_Definition = new PowerDefinition(
         0,
         "Holy Sense",
         "Drewrok Erstok",
         "");
 }
コード例 #7
0
ファイル: HolyItem.cs プロジェクト: Evad-lab/ServUOX
 public HolyItem()
 {
     m_Definition = new PowerDefinition(
         5,
         "Holy Item",
         "Vidda K'balc",
         "");
 }
コード例 #8
0
ファイル: VileBlade.cs プロジェクト: Evad-lab/ServUOX
 public VileBlade()
 {
     m_Definition = new PowerDefinition(
         10,
         "Vile Blade",
         "Velgo Reyam",
         "");
 }
コード例 #9
0
ファイル: Bless.cs プロジェクト: Evad-lab/ServUOX
 public Bless()
 {
     m_Definition = new PowerDefinition(
         15,
         "Bless",
         "Erstok Ontawl",
         "");
 }
コード例 #10
0
ファイル: UnholyShield.cs プロジェクト: Evad-lab/ServUOX
 public UnholyShield()
 {
     m_Definition = new PowerDefinition(
         20,
         "Unholy Shield",
         "Velgo K'blac",
         "");
 }
コード例 #11
0
 public BlightPower()
 {
     m_Definition = new PowerDefinition(
         15,
         "Blight",
         "Velgo Ontawl",
         "");
 }
コード例 #12
0
ファイル: SummonFamiliar.cs プロジェクト: Evad-lab/ServUOX
 public SummonFamiliar()
 {
     m_Definition = new PowerDefinition(
         5,
         "Summon Familiar",
         "Trubechs Vingir",
         "");
 }
コード例 #13
0
ファイル: HolyBlade.cs プロジェクト: Evad-lab/ServUOX
 public HolyBlade()
 {
     m_Definition = new PowerDefinition(
         10,
         "Holy Blade",
         "Erstok Reyam",
         "");
 }
コード例 #14
0
ファイル: UnholySteed.cs プロジェクト: Evad-lab/ServUOX
 public UnholySteed()
 {
     m_Definition = new PowerDefinition(
         30,
         "Unholy Steed",
         "Trubechs Yeliab",
         "");
 }
コード例 #15
0
ファイル: HolySteed.cs プロジェクト: FreeReign/imaginenation
		public HolySteed()
		{
			m_Definition = new PowerDefinition(
					30,
					"Holy Steed",
					"Trubechs Yeliab",
					""
				);
		}
コード例 #16
0
		public UnholySense()
		{
			m_Definition = new PowerDefinition(
					0,
					"Unholy Sense",
					"Drewrok Velgo",
					""
				);
		}
コード例 #17
0
ファイル: Bless.cs プロジェクト: Godkong/RunUO
		public Bless()
		{
			m_Definition = new PowerDefinition(
					15,
					"Bless",
					"Erstok Ontawl",
					""
				);
		}
コード例 #18
0
ファイル: UnholyWord.cs プロジェクト: Godkong/RunUO
		public UnholyWord()
		{
			m_Definition = new PowerDefinition(
					100,
					"Unholy Word",
					"Velgo Oostrac",
					""
				);
		}
コード例 #19
0
 public UnholyItem()
 {
     m_Definition = new PowerDefinition(
         10,
         "Unholy Item",
         "Vidda K'balc",
         ""
         );
 }
コード例 #20
0
ファイル: UnholyShield.cs プロジェクト: Godkong/RunUO
		public UnholyShield()
		{
			m_Definition = new PowerDefinition(
					20,
					"Unholy Shield",
					"Velgo K'blac",
					""
				);
		}
コード例 #21
0
ファイル: HolySteed.cs プロジェクト: alucardxlx/Casiopia
 public HolySteedPower()
 {
     m_Definition = new PowerDefinition(
         30,
         "Holy Steed",
         "Trebuchs Yeliab",
         ""
         );
 }
コード例 #22
0
ファイル: UnholyItem.cs プロジェクト: FreeReign/imaginenation
		public UnholyItem()
		{
			m_Definition = new PowerDefinition(
					5,
					"Unholy Item",
					"Vidda K'balc",
					""
				);
		}
コード例 #23
0
ファイル: HolySense.cs プロジェクト: Godkong/Origins
		public HolySense()
		{
			m_Definition = new PowerDefinition(
					0,
					"Holy Sense",
					"Drewrok Erstok",
					""
				);
		}
コード例 #24
0
ファイル: HolyWord.cs プロジェクト: FreeReign/imaginenation
		public HolyWord()
		{
			m_Definition = new PowerDefinition(
					100,
					"Holy Word",
					"Erstok Oostrac",
					""
				);
		}
コード例 #25
0
 public HolyBlade()
 {
     m_Definition = new PowerDefinition(
             10,
             "Holy Blade",
             "Erstok Reyam",
             ""
         );
 }
コード例 #26
0
ファイル: Blight.cs プロジェクト: Godkong/Origins
		public Blight()
		{
			m_Definition = new PowerDefinition(
					15,
					"Blight",
					"Velgo Ontawl",
					""
				);
		}
コード例 #27
0
ファイル: HolyShield.cs プロジェクト: Godkong/RunUO
		public HolyShield()
		{
			m_Definition = new PowerDefinition(
					20,
					"Holy Shield",
					"Erstok K'blac",
					""
				);
		}
コード例 #28
0
		public SummonFamiliar()
		{
			m_Definition = new PowerDefinition(
					5,
					"Summon Familiar",
					"Trubechs Vingir",
					""
				);
		}
コード例 #29
0
ファイル: VileBlade.cs プロジェクト: Godkong/RunUO
		public VileBlade()
		{
			m_Definition = new PowerDefinition(
					10,
					"Vile Blade",
					"Velgo Reyam",
					""
				);
		}
コード例 #30
0
 public HolySteed()
 {
     m_Definition = new PowerDefinition(
         30,
         5,
         "Holy Steed",
         "Trubechs Yeliab",
         ""
         );
 }
コード例 #31
0
 public HolySense()
 {
     m_Definition = new PowerDefinition(
         0,
         2,
         "Holy Sense",
         "Drewrok Velgo",                         // powerwords swapped in RunUO with ("Drewrok Erstok")
         ""
         );
 }
コード例 #32
0
ファイル: HolyUnion.cs プロジェクト: greeduomacro/UO-Forever
 public HolyUnion()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         50,
         "Holy Union",
         "Vingir Yeliab",
         "Expend a moderate amount of life force to resurrect an ally or pet",
         23001
         );
 }
コード例 #33
0
 public HolySteedPower()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         50,
         "Holy Steed",
         "Xen Yeliab",
         "Summon a holy steed.",
         20997
         );
 }
コード例 #34
0
 public UnholySense()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         0,
         "Unholy Sense",
         "Drewrok Velgo",
         "Sense the presence of good near you.  Strength is based off your current life force.",
         20486
         );
 }
コード例 #35
0
 public VileBlade()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         15,
         "Defile Armament",
         "Velgo Reyam",
         "Defile a weapon or piece of armor, strengthening it against the opposing ethic.",
         24003
         );
 }
コード例 #36
0
 public HolyBlade()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         15,
         "Sanctify Armament",
         "Erst Reyam",
         "Sanctify a weapon or piece of armor, strengthening it against the opposing ethic.",
         20741
         );
 }
コード例 #37
0
ファイル: HolySense.cs プロジェクト: greeduomacro/UO-Forever
 public HolySense()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         0,
         "Holy Sense",
         "Drewrok Erst",
         "Sense the presence of evil near you.  Strength is based off your current life force.",
         20736
         );
 }
コード例 #38
0
ファイル: UnholyWord.cs プロジェクト: zerodowned/UO-Forever
 public UnholyWord()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         100,
         "Unholy Word",
         "Velgo Oostrac",
         "Expend all of your life force to resurrect yourself.  Works once per day.",
         20494
         );
 }
コード例 #39
0
ファイル: HolyWord.cs プロジェクト: greeduomacro/UO-Forever
 public HolyWord()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         100,
         "Holy Word",
         "Erst Oostrac",
         "Expend all of your life force to resurrect yourself.  Works once per day.",
         20742
         );
 }
コード例 #40
0
 public UnholyItem()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         100,
         "Desecrate Item",
         "Vidda K'balc",
         "Desecrate an item, turning it your ethic color.  This will also bless clothing.",
         21015
         );
 }
コード例 #41
0
 public UnholySense()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         0,
         "Unholy Sense",
         "Drewrok Velgo",
         "Sense the presence of good near you.  Strength is based off your current life force.",
         20486
         );
 }
コード例 #42
0
ファイル: UnholyBeast.cs プロジェクト: zerodowned/UO-Forever
 public SummonFamiliar()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         25,
         "Unholy Beast",
         "Xen Vingir",
         "Summon an unholy beast to aid you in combat.",
         20491
         );
 }
コード例 #43
0
 public UnholyItem()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         100,
         "Desecrate Item",
         "Vidda K'balc",
         "Desecrate an item, turning it your ethic color.  This will also bless clothing.",
         21015
         );
 }
コード例 #44
0
ファイル: HolyUnion.cs プロジェクト: zerodowned/UO-Forever
 public HolyUnion()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         50,
         "Holy Union",
         "Vingir Yeliab",
         "Expend a moderate amount of life force to resurrect an ally or pet",
         23001
         );
 }
コード例 #45
0
 public HolyWord()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         100,
         "Holy Word",
         "Erst Oostrac",
         "Expend all of your life force to resurrect yourself.  Works once per day.",
         20742
         );
 }
コード例 #46
0
ファイル: HolyBeast.cs プロジェクト: greeduomacro/UO-Forever
 public SummonFamiliar()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         25,
         "Holy Beast",
         "Xen Vingir",
         "Summon a holy beast to aid you in combat.",
         20491
         );
 }
コード例 #47
0
 public UnholySteedPower()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         50,
         "Unholy Steed",
         "Xen Yeliab",
         "Summon an unholy steed.",
         20997
         );
 }
コード例 #48
0
 public VileBlade()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         15,
         "Defile Armament",
         "Velgo Reyam",
         "Defile a weapon or piece of armor, strengthening it against the opposing ethic.",
         24003
         );
 }
コード例 #49
0
ファイル: UnholyWord.cs プロジェクト: greeduomacro/UO-Forever
 public UnholyWord()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         100,
         "Unholy Word",
         "Velgo Oostrac",
         "Expend all of your life force to resurrect yourself.  Works once per day.",
         20494
         );
 }
コード例 #50
0
 public HolySense()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         0,
         "Holy Sense",
         "Drewrok Erst",
         "Sense the presence of evil near you.  Strength is based off your current life force.",
         20736
         );
 }
コード例 #51
0
 public HolyBlade()
     : base(null, m_Info)
 {
     m_Definition = new PowerDefinition(
         15,
         "Sanctify Armament",
         "Erst Reyam",
         "Sanctify a weapon or piece of armor, strengthening it against the opposing ethic.",
         20741
         );
 }
コード例 #52
0
ファイル: UnholyBeast.cs プロジェクト: zerodowned/UO-Forever
 public SummonFamiliar(Player Caster)
     : base(Caster.Mobile, m_Info)
 {
     m_Definition = new PowerDefinition(
         25,
         "Unholy Beast",
         "Xen Vingir",
         "Summon an unholy beast to aid you in combat.",
         20491
         );
     EthicCaster = Caster;
 }
コード例 #53
0
 public UnholyItem(Player Caster)
     : base(Caster.Mobile, m_Info)
 {
     m_Definition = new PowerDefinition(
         100,
         "Desecrate Item",
         "Vidda K'balc",
         "Desecrate an item, turning it your ethic color.  This will also bless clothing.",
         21015
         );
     EthicCaster = Caster;
 }
コード例 #54
0
 public HolyBlade(Player Caster)
     : base(Caster.Mobile, m_Info)
 {
     m_Definition = new PowerDefinition(
         15,
         "Sanctify Armament",
         "Erst Reyam",
         "Sanctify a weapon or piece of armor, strengthening it against the opposing ethic.",
         20741
         );
     EthicCaster = Caster;
 }
コード例 #55
0
ファイル: HolySense.cs プロジェクト: greeduomacro/UO-Forever
 public HolySense(Player Caster)
     : base(Caster.Mobile, m_Info)
 {
     m_Definition = new PowerDefinition(
         0,
         "Holy Sense",
         "Drewrok Erst",
         "Sense the presence of evil near you.  Strength is based off your current life force.",
         20736
         );
     EthicCaster = Caster;
 }
コード例 #56
0
 public VileBlade(Player Caster)
     : base(Caster.Mobile, m_Info)
 {
     m_Definition = new PowerDefinition(
         15,
         "Defile Armament",
         "Velgo Reyam",
         "Defile a weapon or piece of armor, strengthening it against the opposing ethic.",
         24003
         );
     EthicCaster = Caster;
 }
コード例 #57
0
 public UnholySteedPower(Player Caster)
     : base(Caster.Mobile, m_Info)
 {
     m_Definition = new PowerDefinition(
         50,
         "Unholy Steed",
         "Xen Yeliab",
         "Summon an unholy steed.",
         20997
         );
     EthicCaster = Caster;
 }
コード例 #58
0
ファイル: HolyBeast.cs プロジェクト: greeduomacro/UO-Forever
 public SummonFamiliar(Player Caster)
     : base(Caster.Mobile, m_Info)
 {
     m_Definition = new PowerDefinition(
         25,
         "Holy Beast",
         "Xen Vingir",
         "Summon a holy beast to aid you in combat.",
         20491
         );
     EthicCaster = Caster;
 }
コード例 #59
0
ファイル: HolyUnion.cs プロジェクト: greeduomacro/UO-Forever
 public HolyUnion(Player Caster)
     : base(Caster.Mobile, m_Info)
 {
     m_Definition = new PowerDefinition(
         100,
         "Holy Union",
         "Vingir Yeliab",
         "Expend a moderate amount of life force to resurrect an ally or pet",
         23001
         );
     EthicCaster = Caster;
 }
コード例 #60
0
 public UnholyItem(Player Caster)
     : base(Caster.Mobile, m_Info)
 {
     m_Definition = new PowerDefinition(
         100,
         "Desecrate Item",
         "Vidda K'balc",
         "Desecrate an item, turning it your ethic color.  This will also bless clothing.",
         21015
         );
     EthicCaster = Caster;
 }