Small fix for CanBeDamaged function
The canbedamaged function never control if the mobile is alive or not.
You can found the standard function in mobile.cs at line 4900 about...:
overwrite the function with this new one:
recompile and the bug is solve
The canbedamaged function never control if the mobile is alive or not.
You can found the standard function in mobile.cs at line 4900 about...:
Code:
[SIZE=2][COLOR=#0000ff]public [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]virtual [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]bool[/COLOR][/SIZE][SIZE=2] CanBeDamaged()
{
[/SIZE][SIZE=2][COLOR=#0000ff]return[/COLOR][/SIZE][SIZE=2] !m_Blessed;
}
[/SIZE]
overwrite the function with this new one:
Code:
[SIZE=2][COLOR=#0000ff]public [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]virtual [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]bool[/COLOR][/SIZE][SIZE=2] CanBeDamaged()
{
[/SIZE][SIZE=2][COLOR=#0000ff]return[/COLOR][/SIZE][SIZE=2] !m_Blessed && Alive;
}
[/SIZE]
recompile and the bug is solve