MCPcopy Create free account
hub / github.com/NetHack/NetHack / golemhp

Function golemhp

src/makemon.c:2232–2261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2230}
2231
2232int
2233golemhp(int type)
2234{
2235 switch (type) {
2236 case PM_STRAW_GOLEM:
2237 return 20;
2238 case PM_PAPER_GOLEM:
2239 return 20;
2240 case PM_ROPE_GOLEM:
2241 return 30;
2242 case PM_LEATHER_GOLEM:
2243 return 40;
2244 case PM_GOLD_GOLEM:
2245 return 60;
2246 case PM_WOOD_GOLEM:
2247 return 50;
2248 case PM_FLESH_GOLEM:
2249 return 40;
2250 case PM_CLAY_GOLEM:
2251 return 70;
2252 case PM_STONE_GOLEM:
2253 return 100;
2254 case PM_GLASS_GOLEM:
2255 return 80;
2256 case PM_IRON_GOLEM:
2257 return 120;
2258 default:
2259 return 0;
2260 }
2261}
2262
2263/*
2264 * Alignment vs. yours determines monster's attitude to you.

Callers 3

polymonFunction · 0.85
monhp_per_lvlFunction · 0.85
newmonhpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected