OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:dam
(Results
1 - 3
of
3
) sorted by relevancy
/src/games/larn/
diag.c
37
int hit,
dam
;
local
66
lprcat(" Monster Name LEV AC
DAM
ATT DEF GOLD HP EXP \n");
85
dam
= 16 - c[HARDGAME];
88
(long) (hit / 2), (long) max(0,
dam
+ 2), (long) (monster[i].hitpoints / (
dam
+ 2) + 1),
89
(long) ((hit + 2) / 2), (long) max(0,
dam
+ 10), (long) (monster[i].hitpoints / (
dam
+ 10) + 1),
90
(long) ((hit + 5) / 2), (long) max(0,
dam
+ 20), (long) (monster[i].hitpoints / (
dam
+ 20) + 1));
monster.c
33
* direct(spnum,
dam
,str,arg)Routine to direct spell damage 1 square in 1 dir
34
* int spnum,
dam
,arg;
37
* godirect(spnum,
dam
,str,delay,cshow) Function to perform missile attacks
38
* int spnum,
dam
,delay;
47
* omnidirect(sp,
dam
,str) Routine to damage all monsters 1 square from player
48
* int sp,
dam
;
718
* direct(spnum,
dam
,str,arg) Routine to direct spell damage 1 square in 1 dir
719
* int spnum,
dam
,arg;
723
* Enter with the spell number in spnum, the damage to be done in
dam
,
728
direct(int spnum, int
dam
, const char *str, int arg
1228
int
dam
, tmp, mster, bias;
local
[
all
...]
/src/games/hack/
hack.zap.c
581
int
dam
= 0;
local
586
dam
= d(2, 6);
592
dam
= d(6, 6);
603
dam
= d(6, 6);
608
losehp(
dam
, fltxt);
Completed in 16 milliseconds
Indexes created Sat Feb 21 16:20:20 UTC 2026