Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.85 KB | None | 0 0
  1. // 331 = Trebuchet
  2. // 250/533 = Longboat / 11 = Vikings
  3. // 831/832 = Turtle Ship / 18 = Koreans
  4. // 775 = Missionary / 14 = Spanish
  5. // 82 = Castle
  6. // 45 = Dock
  7. // 104 = Monastery
  8.  
  9. if (
  10.     // CASTLE
  11.     (*buildingId2 != 82 || *(_DWORD *)(unitId + 8) != 3 || *(_DWORD *)unitId == 331)
  12.     // DOCK
  13.     && (buildingId != 45
  14.         // VIKINGS
  15.         || (*(_DWORD *)unitId != 250 && *(_DWORD *)unitId != 533 || *(_DWORD *)(v1 + 2076) == 11)
  16.         // KOREANS
  17.         && (*(_DWORD *)unitId != 831 && *(_DWORD *)unitId != 832 || *(_DWORD *)(v1 + 2076) == 18)
  18.     // ARCHERY RANGE TEST
  19.     && (buildingId != 87
  20.         // INCANS
  21.         || (*(_DWORD *)unitId != 185 || *(_DWORD *)(v1 + 2076) == 21))
  22.     // ARCHERY RANGE TEST END
  23.     )
  24.     // MONASTERY // SPANISH
  25.     && (buildingId != 104 || *(_DWORD *)unitId != 775 || *(_DWORD *)(v1 + 2076) == 14)
  26. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement