drain energy attack (trunk only)
During some recent newsgroup discussion, <Someone> posted an entry from his personal bug list: energy draining damage from ordinary attacks is implemented even though there are no monsters with that capability and it was not implemented for engulf attacks even though energy vortices have the capability. This implements energy drain engulf attacks against the hero and also both modes of energy drain attacks for monsters and poly'd hero against spellcasting monsters. Since monsters don't have energy, they lose access to their special abilities (their spells, that is) for a few turns, same as a post-3.4.3 change done for anti-magic traps.
This commit is contained in:
@@ -1099,6 +1099,7 @@ E int FDECL(mdisplacem, (struct monst *,struct monst *,BOOLEAN_P));
|
||||
E void FDECL(paralyze_monst, (struct monst *,int));
|
||||
E int FDECL(sleep_monst, (struct monst *,int,int));
|
||||
E void FDECL(slept_monst, (struct monst *));
|
||||
E void FDECL(xdrainenergym, (struct monst *,BOOLEAN_P));
|
||||
E long FDECL(attk_protection, (int));
|
||||
|
||||
/* ### mhitu.c ### */
|
||||
|
||||
Reference in New Issue
Block a user