fix: follow 'replaced_by' SpellInfo chain to the final replacement (#834)
fix: follow 'replaced_by' SpellInfo chain to the final replacement (#834)

* fix: follow 'replaced_by' SpellInfo chain to the final replacement

When a spell is annotated to be replaced by another spell using the
SpellInfo parameter 'replaced_by', keep searching along the chain
of spells for other 'replaced_by' directives until we reach the
final replacement spell.

This should fix issue #833.

* style: rename MAX_GUARD to maxGuard to silence lint
ultijlam/ovale,ultijlam/ovale,ultijlam/ovale