[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 authored and GitHub committed 2024-01-28 20:20:09 -06:00
1 parent 97c3205657
commit 7a770e0e08
2 files changed
+31 -31

No files matched your search

+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;