Home
last modified time | relevance | path

Searched refs:nuke_factor (Results 1 – 2 of 2) sorted by relevance

/dports/games/xpilot/xpilot-4.5.5/src/server/
H A Dshot.c1280 DFLOAT nuke_factor; in Delete_shot() local
1282 nuke_factor = NUKE_MINE_EXPL_MULT * shot->mass / MINE_MASS; in Delete_shot()
1284 nuke_factor = NUKE_SMART_EXPL_MULT * shot->mass / MISSILE_MASS; in Delete_shot()
1286 nuke_factor = (nuke_factor * (shot->mods.mini + 1)) / SHOT_MULT(shot); in Delete_shot()
1287 intensity = (int)(intensity * nuke_factor); in Delete_shot()
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/server/
H A Dshot.c1228 double nuke_factor; in Delete_shot() local
1231 nuke_factor = NUKE_MINE_EXPL_MULT * shot->mass / MINE_MASS; in Delete_shot()
1233 nuke_factor = NUKE_SMART_EXPL_MULT * shot->mass / MISSILE_MASS; in Delete_shot()
1235 nuke_factor *= ((Mods_get(shot->mods, ModsMini) + 1) in Delete_shot()
1237 intensity = (int)(intensity * nuke_factor); in Delete_shot()