secondary damage for monster spell attacks
Have monster spells | "shower of missiles" (AT_MAGC+AD_MAGM: Angels, Yeenoghu) scuff an engraving at the hero's spot if there is one, | "frost" (AT_MAGC+AD_COLD: only Asmodeus) freeze water and lava terrain, | "flames" (AT_MAGC+AD_FIRE: moot, no monster has this attack) burn items on the floor at the hero's spot and melt ice terrain, | "pillar of flame" (AT_MAGC+AD_CLRC+randomly chosen clerical spell) which already burns floor items, melt ice too, and | "lightning" (same casters as pillar of flame) give a tiny chance of destroying iron bars. The chance to hit bars is low and the hero has to be targeted while located on an iron bars spot so probably won't happen before the sun burns out, but only needed one extra line of code. Only the first two have been thoroughly tested.
This commit is contained in:
@@ -3756,6 +3756,7 @@ extern void start_melt_ice_timeout(coordxy, coordxy, long);
|
||||
extern void melt_ice_away(union any *, long) NONNULLARG1;
|
||||
extern int zap_over_floor(coordxy, coordxy, int, boolean *,
|
||||
boolean, short) NONNULLARG4;
|
||||
extern void mon_spell_hits_spot(struct monst *, int, coordxy x, coordxy y);
|
||||
extern void fracture_rock(struct obj *) NONNULLARG1;
|
||||
extern boolean break_statue(struct obj *) NONNULLARG1;
|
||||
extern int u_adtyp_resistance_obj(int);
|
||||
|
||||
Reference in New Issue
Block a user