Samuel Packham
Member
I found a way to have resistances increase by looking on the runuo boards and adding this to playermobile.cs:
"public override int BasePhysicalResistance { get { return (int)(Skills[SkillName.MagicResist].Value / 10); } }
public override int BaseFireResistance { get { return (int)(Skills[SkillName.MagicResist].Value / 10); } }..."
I tried the same thing with the other stats, such as defense chance increase( public virtual int DefenseChance { get { return (int)(Skills[SkillName.MagicResist].Value / 10); } }) but it doesn't do anything. There are no error messages and the server compiles. I imagine DCI behaves different because it isn't a skill that is inherit on the player mobile but on the item. If anybody has any ideas I would appreciate it.
"public override int BasePhysicalResistance { get { return (int)(Skills[SkillName.MagicResist].Value / 10); } }
public override int BaseFireResistance { get { return (int)(Skills[SkillName.MagicResist].Value / 10); } }..."
I tried the same thing with the other stats, such as defense chance increase( public virtual int DefenseChance { get { return (int)(Skills[SkillName.MagicResist].Value / 10); } }) but it doesn't do anything. There are no error messages and the server compiles. I imagine DCI behaves different because it isn't a skill that is inherit on the player mobile but on the item. If anybody has any ideas I would appreciate it.