Mustard gas hostility bug (this is a darned tricky one)
Any suggestions?
System would indicate in graphic if person is mounted on horse or not. Same system also show if person mounted on boar, elephant, polar bear etc. Or if person mounted on ass. Ivan find mounting on ass funny.
System would indicate in graphic if person is mounted on horse or not. Same system also show if person mounted on boar, elephant, polar bear etc. Or if person mounted on ass. Ivan find mounting on ass funny.
ITEM(holyhandgrenade, item) { public: ... virtual truth IsKamikazeWeapon(ccharacter*) const { return CalculateHasBe(); } ... }
void level::GasExplosion(gas* GasMaterial, lsquare* Square, character* Terrorist) { for(int d = 0; d < 9; ++d) { lsquare* Neighbour = Square->GetNeighbourLSquare(d); if(Neighbour && Neighbour->IsFlyable()) Neighbour->AddSmoke(static_cast<gas*>(GasMaterial->SpawnMore(1000))); if(Neighbour) { character* Victim = Neighbour->GetCharacter(); if(Victim) Terrorist->Hostility(Victim); } } }
if(Victim) Terrorist->Hostility(Victim);
if(Victim && !Victim->IsPlayer()) Terrorist->Hostility(Victim);
if(Victim && Terrorist) Terrorist->Hostility(Victim);
void silva::PrayGoodEffect() { // ... if(!game::GetCurrentLevel()->IsOnGround() && !game::GetCurrentLevel()->GetLevelScript()->IsZombieLevel()) { ADD_MESSAGE("Suddenly a horrible earthquake shakes the level."); // ... }
class levelscript : public scriptwithbase { // ... SCRIPT_TRUTH_WITH_BASE(IsCatacomb); SCRIPT_MEMBER_WITH_BASE(festring, EnterImage); SCRIPT_MEMBER_WITH_BASE(v2, EnterTextDisplacement); SCRIPT_TRUTH_WITH_BASE(IsZombieLevel); };
void levelscript::InitDataMap() { // ... INIT_ENTRY(EnterTextDisplacement); INIT_ENTRY(IsZombieLevel); }
Level ZOMBIE_LEVEL; { Rooms = 1; IsZombieLevel = true; IgnoreDefaultSpecialSquares = true; MonsterAmountBase = 20; LOSModifier = 24; FillSquare = FLINT solidterrain(GROUND), GNEISS earth; //... }
void silva::PrayGoodEffect() { // ... if(!game::GetCurrentLevel()->IsOnGround()) { ADD_MESSAGE("Suddenly a horrible earthquake shakes the level."); int c, Tunnels = 2 + RAND() % 3; if (game::GetCurrentLevel()->GetLevelScript()->IsZombieLevel()) Tunnels = 0; // ... }
if (game::GetCurrentLevel()->GetLevelScript()->IsZombieLevel()) Tunnels = 0;
if (game::GetCurrentLevelIndex() == ZOMBIE_LEVEL) Tunnels = 0;
System would indicate in graphic if person is mounted on horse or not. Same system also show if person mounted on boar, elephant, polar bear etc. Or if person mounted on ass. Ivan find mounting on ass funny.