/dports/games/ivan/ivan-059/Main/Source/ |
H A D | gods.cpp | 213 PLAYER->ReceiveDamage(0, 10, PHYSICAL_DAMAGE, HEAD, RAND() & 7); in PrayBadEffect() 594 Char->ReceiveDamage(0, 20 + RAND() % 21, PHYSICAL_DAMAGE, HEAD|TORSO, 8, true); in PrayGoodEffect() 599 Square->GetStack()->ReceiveDamage(0, 10 + RAND() % 41, PHYSICAL_DAMAGE); in PrayGoodEffect() 619 MonsterHere->ReceiveDamage(0, 10 + RAND() % 10, PHYSICAL_DAMAGE, HEAD|TORSO, 8, true); in PrayGoodEffect() 621 Square->GetStack()->ReceiveDamage(0, 10 + RAND() % 10, PHYSICAL_DAMAGE); in PrayGoodEffect() 1163 PLAYER->ReceiveDamage(0, 2 + RAND() % 7, PHYSICAL_DAMAGE, HEAD); in PrayBadEffect() 1494 PLAYER->ReceiveDamage(0, 1 + RAND() % 30, PHYSICAL_DAMAGE, ALL, RAND() & 7); in PrayBadEffect()
|
H A D | miscitem.cpp | 269 Square->GetStack()->ReceiveDamage(0, 10 + RAND() % 41, PHYSICAL_DAMAGE); in FinishReading() 291 Square->GetStack()->ReceiveDamage(0, 10 + RAND() % 10, PHYSICAL_DAMAGE); in FinishReading() 527 Stepper->ReceiveDamage(0, 1 + RAND() % 3, PHYSICAL_DAMAGE, LEGS); in StepOnEffect() 945 Stepper->ReceiveDamage(0, 1 + (RAND() & 1), PHYSICAL_DAMAGE, ALL&~LEGS); in StepOnEffect() 1009 || (Type & (PHYSICAL_DAMAGE|SOUND) && WillExplode(0))) in ReceiveDamage() 1489 Victim->ReceiveBodyPartDamage(0, GetBaseTrapDamage(), PHYSICAL_DAMAGE, in TryToUnStick() 1512 Victim->ReceiveBodyPartDamage(0, GetBaseTrapDamage() << 1, PHYSICAL_DAMAGE, in TryToUnStick() 1585 Stepper->ReceiveBodyPartDamage(0, GetBaseTrapDamage() << 1, PHYSICAL_DAMAGE, in StepOnEffect() 2115 if(Type & (PHYSICAL_DAMAGE|SOUND|ENERGY)) in ReceiveDamage() 2607 if(!IsBroken() && Type & PHYSICAL_DAMAGE && Damage) in ReceiveDamage() [all …]
|
H A D | lsquare.cpp | 1866 GetStack()->ReceiveDamage(Explosion->Terrorist, Damage >> 1, PHYSICAL_DAMAGE); in GetHitByExplosion() 1869 ReceiveTrapDamage(Explosion->Terrorist, Damage >> 1, PHYSICAL_DAMAGE); in GetHitByExplosion() 1875 GetOLTerrain()->ReceiveDamage(Explosion->Terrorist, Damage >> 1, PHYSICAL_DAMAGE); in GetHitByExplosion() 2071 GetStack()->ReceiveDamage(0, 5 + RAND() % 10, PHYSICAL_DAMAGE); in ReceiveEarthQuakeDamage() 2072 ReceiveTrapDamage(0, 5 + RAND() % 10, PHYSICAL_DAMAGE); in ReceiveEarthQuakeDamage() 2076 GetOLTerrain()->ReceiveDamage(0, 5 + RAND() % 10, PHYSICAL_DAMAGE); in ReceiveEarthQuakeDamage()
|
H A D | lterras.cpp | 16 …tByItem(character* Thrower, item*, int Damage) { ReceiveDamage(Thrower, Damage, PHYSICAL_DAMAGE); } in HasBeenHitByItem() 31 …tByItem(character* Thrower, item*, int Damage) { ReceiveDamage(Thrower, Damage, PHYSICAL_DAMAGE); } in HasBeenHitByItem()
|
H A D | item.cpp | 259 … ReceiveDamage(Thrower, int(sqrt(GetWeight() * RangeLeft) / 10), THROW|PHYSICAL_DAMAGE, Direction); in Fly() 660 case PHYSICAL_DAMAGE: return GetStrengthValue(); in GetResistance() 910 if(CanBeBroken() && !IsBroken() && Type & (PHYSICAL_DAMAGE|SOUND|ENERGY|ACID)) in ReceiveDamage()
|
H A D | char.cpp | 877 PHYSICAL_DAMAGE, BodyPart, in TakeHit() 892 Weapon->ReceiveDamage(Enemy, TrueDamage - DoneDamage, PHYSICAL_DAMAGE); in TakeHit() 959 if(BodyPart && (BodyPart->GetHP() != 1 || BodyPart->CanBeSevered(PHYSICAL_DAMAGE))) in ChooseBodyPartToReceiveHit() 3949 ReceiveDamage(GuiltyGuy, 1 + RAND() % 5, PHYSICAL_DAMAGE, HEAD); in FallTo() 5108 case PHYSICAL_DAMAGE: in AllowDamageTypeBloodSpill() 5521 case PHYSICAL_DAMAGE: in GetResistance() 6334 case PHYSICAL_DAMAGE: in DamageTypeAffectsInventory() 6391 Blocker->ReceiveDamage(this, Damage, PHYSICAL_DAMAGE); in CheckForBlockWithArm() 6396 Weapon->ReceiveDamage(Enemy, Damage - NewDamage, PHYSICAL_DAMAGE); in CheckForBlockWithArm() 9518 Entry << BodyPart->GetTotalResistance(PHYSICAL_DAMAGE); in AddDefenceInfo() [all …]
|
H A D | nonhuman.cpp | 111 ByStander->DamageAllItems(this, RAND() % 36 + RAND() % 36, PHYSICAL_DAMAGE); in Hit() 116 Square->GetStack()->ReceiveDamage(this, RAND() % 36 + RAND() % 36, PHYSICAL_DAMAGE, in Hit() 1797 …Enemy->ReceiveBodyPartDamage(this, 1 + (RAND() & 1), PHYSICAL_DAMAGE, BodyPart->GetBodyPartIndex(), in SpecialBodyDefenceEffect()
|
H A D | human.cpp | 2195 if(!(Type & PHYSICAL_DAMAGE)) in GetGlobalResistance() 6858 Char->ReceiveDamage(0, 20 + RAND() % 21, PHYSICAL_DAMAGE, HEAD|TORSO, 8, true); in CreateCorpse() 6863 Square->GetStack()->ReceiveDamage(0, 10 + RAND() % 41, PHYSICAL_DAMAGE); in CreateCorpse() 6883 MonsterHere->ReceiveDamage(0, 10 + RAND() % 10, PHYSICAL_DAMAGE, HEAD|TORSO, 8, true); in CreateCorpse() 6885 Square->GetStack()->ReceiveDamage(0, 10 + RAND() % 10, PHYSICAL_DAMAGE); in CreateCorpse()
|
H A D | stack.cpp | 240 ReceiveDamage(Kicker, KickDamage, PHYSICAL_DAMAGE, Direction); in BeKicked()
|
H A D | cmdcraft.cpp | 2172 …itWeaker->ReceiveDamage(rpd.rc.H(), (int)dmg, THROW|PHYSICAL_DAMAGE); //based on item::Fly() "brea… in work() 3631 itSpawn->ReceiveDamage(rpd.rc.H(), lDmg, PHYSICAL_DAMAGE); in SpawnItem()
|
H A D | bodypart.cpp | 1536 int TotalResistance = GetTotalResistance(PHYSICAL_DAMAGE); in GetTimeToDie()
|
/dports/games/ivan/ivan-059/Main/Include/ |
H A D | ivandef.h | 173 #define PHYSICAL_DAMAGE 1 macro
|
H A D | definesvalidator.h | 6699 #ifdef PHYSICAL_DAMAGE // DO NOT MODIFY! in Validate() 6701 bsB = PHYSICAL_DAMAGE; in Validate() 6703 …value 1 from .dat file mismatches hardcoded c++ define value of " << PHYSICAL_DAMAGE << "!" << std… in Validate()
|
/dports/games/ivan/ivan-059/Script/ |
H A D | define.dat | 89 #define PHYSICAL_DAMAGE 1
|