Full Version : powerscroll bug in runuo 1.0
xmlspawner >>Scripting Support >>powerscroll bug in runuo 1.0


<< Prev | Next >>

ambak- 01-31-2006
i found a bug in runuou with the powerscrolls.the bug is that when a player attack for example baracoon (vermin horde champion) if he kiiled and stay killed then when the champ is over if he ressed he can found the ps in his pack.this is very annoying.any one knows this and have a fix for that?its should not allow to drop ps to death players

ArteGordon- 01-31-2006
in BaseChampion.cs just add a test here

QUOTE

  public void GivePowerScrolls()
  {
  //if ( Map != Map.Felucca )
    //return;

  ArrayList toGive = new ArrayList();
  ArrayList rights = BaseCreature.GetLootingRights( this.DamageEntries, this.HitsMax );

  for ( int i = rights.Count - 1; i >= 0; --i )
  {
    DamageStore ds = (DamageStore)rights[i];

    if ( ds.m_HasRight && ds.m_Mobile != null && ds.m_Mobile.Alive)
    toGive.Add( ds.m_Mobile );
  }

Zyle- 02-01-2006
It's not actually a bug, it's like that on OSI. They did it on purpose because people were whinging so hard about getting raided on a champ, so they gave them a chance to still get a scroll if thay had done some damage but got killed. But raiding players got around it on OSI by healing the champion back up to full health and start killing it again after the people they raided were dead.

Anyway, not a bug but rather an irritating "feature" wink.gif