New feature: environment hazards pose danger to soldiers in certain sectors - first use are snakes that attack anybody in water sources in swamps.

Requires GameDir >= r2327.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8266 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2016-07-03 21:26:45 +00:00
parent 762fb79c09
commit ce6e63831d
28 changed files with 294 additions and 27 deletions
+3
View File
@@ -1932,6 +1932,9 @@ public:
// Flugente: do we have a specific item in our inventory?
BOOLEAN HasItem( UINT16 usItem );
BOOLEAN SelfDetonate(); // AI-only: blow up explosive in own inventory. Do NOT, repeat, NOT use this with mercs!
// Flugente: chance to defeat a water snake instead of being hit by it
UINT8 GetWaterSnakeDefenseChance( );
//////////////////////////////////////////////////////////////////////////////
}; // SOLDIERTYPE;