RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

svn bug..

Kenko

Page
svn bug..

FIXED IN REVISION 104

ok I just dl'ed svn latest version (problem comes in revision 95)

Serado.cs ln 107:

before:
Code:
if ( attacker is BaseCreature && ((BaseCreature)attacker).BardProvoked )

after:
Code:
if ( [color=red]this.Map == null &&[/color] attacker is BaseCreature && ((BaseCreature)attacker).BardProvoked )

should be:
Code:
if ( [color=green]this.Map == null || ([/color] attacker is BaseCreature && ((BaseCreature)attacker).BardProvoked )[color=green] )[/color]

the bug will ignore both the map thing and the bardprovoked thing except if they both happen togheter..
 

Kenko

Page
another, this one is older tho. PaladinSpell.cs, change the saymantra function to this
Code:
		public override void SayMantra()
		{
			Caster.PublicOverheadMessage( [color=green]MessageType.Spell[/color], 0x3B2, MantraNumber, "", false );
		}

this will allow, fro example, razor to show spell name AND mantra.

hf
 
Top