[Beacon] Cleanup Beacons Code (#4024)

# Notes
- Use constants where possible.
- Change `resist_adjust` parameter in `Beacon::AELocationSpell` from `resist_adjust` to `in_resist_adjust` so we're not possibly causing parameter shadowing.
This commit is contained in:
Alex King
2024-01-28 21:20:09 -05:00
committed by GitHub
parent 97c3205657
commit 7a770e0e08
2 changed files with 31 additions and 31 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ public:
bool IsBeacon() const { return true; }
bool Process();
virtual void Depop(bool not_used = true) { remove_me = true; }
void AELocationSpell(Mob *caster, uint16 cast_spell_id, int16 resist_adjust);
void AELocationSpell(Mob *caster, uint16 cast_spell_id, int16 in_resist_adjust);
protected:
Timer remove_timer;