Syn
Member
Hello,
Say a player does the following:
1. Peaces a White Wyrm.
2. Attempts to tame the White Wyrm.
3. "You seem to anger the beast" pops up (this is proper).
4. The White Wyrm then goes to attack the player (it was peaced, it should not do this).
I know it "seems" like this should happen because you "angered the beast" but I do not believe this is proper. It "should" be like this:
As you see, in this video the White Wyrm does not break peacemaking, even though it is angered.
Looking at the code, it seems to me that the modification needs to be done here in animaltaming.cs:
Does anyone have any suggestions or thoughts on how to remediate?
Say a player does the following:
1. Peaces a White Wyrm.
2. Attempts to tame the White Wyrm.
3. "You seem to anger the beast" pops up (this is proper).
4. The White Wyrm then goes to attack the player (it was peaced, it should not do this).
I know it "seems" like this should happen because you "angered the beast" but I do not believe this is proper. It "should" be like this:
As you see, in this video the White Wyrm does not break peacemaking, even though it is angered.
Looking at the code, it seems to me that the modification needs to be done here in animaltaming.cs:
Code:
else if (creature.CanAngerOnTame && 0.95 >= Utility.RandomDouble())
{
creature.PrivateOverheadMessage(MessageType.Regular, 0x3B2, 502805, from.NetState);
// You seem to anger the beast!
creature.PlaySound(creature.GetAngerSound());
creature.Direction = creature.GetDirectionTo(from);
if (creature.BardPacified && Utility.RandomDouble() > .24)
{
Timer.DelayCall(TimeSpan.FromSeconds(2.0), new TimerStateCallback(ResetPacify), creature);
}
else
{
creature.BardEndTime = DateTime.UtcNow;
}
creature.BardPacified = false;
if (creature.AIObject != null)
{
creature.AIObject.DoMove(creature.Direction);
}
if (from is PlayerMobile &&
!(((PlayerMobile)from).HonorActive ||
TransformationSpellHelper.UnderTransformation(from, typeof(EtherealVoyageSpell))))
{
creature.Combatant = from;
}
}
Does anyone have any suggestions or thoughts on how to remediate?