hedgewars/uWorld.pas
changeset 4132 ca33a3737064
parent 4003 ca0600ab38bf
child 4159 64e677349124
equal deleted inserted replaced
4131:e89d11f6361c 4132:ca33a3737064
   131 g:= AddGoal(g, gfKarma, gidKarma); // karma?
   131 g:= AddGoal(g, gfKarma, gidKarma); // karma?
   132 g:= AddGoal(g, gfPlaceHog, gidPlaceHog); // placement?
   132 g:= AddGoal(g, gfPlaceHog, gidPlaceHog); // placement?
   133 g:= AddGoal(g, gfArtillery, gidArtillery); // artillery?
   133 g:= AddGoal(g, gfArtillery, gidArtillery); // artillery?
   134 g:= AddGoal(g, gfSolidLand, gidSolidLand); // solid land?
   134 g:= AddGoal(g, gfSolidLand, gidSolidLand); // solid land?
   135 g:= AddGoal(g, gfSharedAmmo, gidSharedAmmo); // shared ammo?
   135 g:= AddGoal(g, gfSharedAmmo, gidSharedAmmo); // shared ammo?
       
   136 g:= AddGoal(g, gfResetHealth, gidResetHealth);
       
   137 g:= AddGoal(g, gfAISurvival, gidAISurvival);
       
   138 g:= AddGoal(g, gfInfAttack, gidInfAttack);
       
   139 g:= AddGoal(g, gfResetWeps, gidResetWeps);
       
   140 g:= AddGoal(g, gfPerHogAmmo, gidPerHogAmmo);
   136 
   141 
   137 // modified damage modificator?
   142 // modified damage modificator?
   138 if cDamagePercent <> 100 then
   143 if cDamagePercent <> 100 then
   139     g:= AddGoal(g, gfAny, gidDamageModifier, cDamagePercent);
   144     g:= AddGoal(g, gfAny, gidDamageModifier, cDamagePercent);
   140 
   145