Add another layer of randomization to roam box logic, npc's who weren't originally spawned in water won't roambox into water

This commit is contained in:
Akkadius
2018-08-18 22:01:46 -05:00
parent 4b6ab34fd9
commit 834062fbf9
7 changed files with 61 additions and 8 deletions
+7
View File
@@ -1414,6 +1414,13 @@ protected:
bool pseudo_rooted;
bool endur_upkeep;
bool degenerating_effects; // true if we have a buff that needs to be recalced every tick
bool spawned_in_water;
public:
bool GetWasSpawnedInWater() const;
void SetSpawnedInWater(bool spawned_in_water);
protected:
// Bind wound
Timer bindwound_timer;