ServUO Version
Publish Unknown
Ultima Expansion
None
im checking mobile.cs playermobile.cs and cant find it where this is handled not sure if i explain myself good.

When a player is in war mode and attacks a mobile 2 tiles away it always faces the direction of his target


(using Runuo 2.2)



if (m_Attacker.InRange(m_Defender, 1))
{
m_Attacker.CurrentSwingTimer = null;
SpellHelper.Turn(m_Attacker, m_Defender);

i want to prevent player for facing if has bodyvalue 240


C#:
 if (m_Attacker.InRange(m_Defender, 1) && !(m_Attacker.BodyValue == 240))
would this do it?
 
Last edited:
Back