Full Version : baseweapon.cs
xmlspawner >>Troubleshooting >>baseweapon.cs


<< Prev | Next >>

Hanse of DL- 07-07-2006
as I was following the instructions, I came to this:


around line 686 of BaseWeapon.cs (Scripts/Items/Weapons/BaseWeapon.cs) at the end of the OnRemoved method change

m.Delta( MobileDelta.WeaponDamage );
}
}

to



around line 138 of BaseJewel.cs (Scripts/Items/Jewels/BaseJewel.cs) at the end of the OnAdded method change

Does this mean at the to, that I should remove

m.Delta( MobileDelta.WeaponDamage );
}
}

ArteGordon- 07-07-2006
the instructions should read

QUOTE

around line 686 of BaseWeapon.cs (Scripts/Items/Weapons/BaseWeapon.cs) at the end of the OnRemoved method change

  m.Delta( MobileDelta.WeaponDamage );
  }
}

to

  m.Delta( MobileDelta.WeaponDamage );
  }
  // XmlAttachment check for OnRemoved
  Server.Engines.XmlSpawner2.XmlAttach.CheckOnRemoved(this, parent);
}



not what you posted.

Hanse of DL- 07-07-2006
Thank you