Closed croboy closed 6 months ago
I can see there is nCorruptZone in PlayerData Struct.
How can we check if we are in a Corrupted zone, or is there a way to return which map is corrupted?
I want something like this:
if (nCorruptZone == 1) { // Corrupted } else { // Not corrupted }
or
getCorruptedMapID() { // Somehow retrieve which areaID is corrupted return mapID; }
Is this possible?
Something akin to this? https://github.com/Project-Diablo-2/BH/blob/19e68f7817a6c89f203e8f3b97d7f2e61525df70/BH/Modules/ScreenInfo/ScreenInfo.cpp#L285-L301
Something akin to this?
https://github.com/Project-Diablo-2/BH/blob/19e68f7817a6c89f203e8f3b97d7f2e61525df70/BH/Modules/ScreenInfo/ScreenInfo.cpp#L285-L301
Yes exactly 😂 How can I collaborate with you guys? Really love learning about Diablo 2 and how it works. Is there a discord I can join or something?
Resolved thanks
I can see there is nCorruptZone in PlayerData Struct.
How can we check if we are in a Corrupted zone, or is there a way to return which map is corrupted?
I want something like this:
if (nCorruptZone == 1) { // Corrupted } else { // Not corrupted }
or
getCorruptedMapID() { // Somehow retrieve which areaID is corrupted return mapID; }
Is this possible?