Sunsword can be invoked to create a blinding ray

This commit is contained in:
Pasi Kallinen
2024-03-31 19:43:33 +03:00
parent 5ee813091a
commit c71e8ec8d4
6 changed files with 26 additions and 14 deletions

View File

@@ -64,7 +64,8 @@ enum invoke_prop_types {
CREATE_PORTAL,
ENLIGHTENING,
CREATE_AMMO,
BANISH
BANISH,
BLINDING_RAY
};
/* clang-format on */

View File

@@ -179,8 +179,8 @@ static NEARDATA struct artifact artilist[] = {
/* Sunsword emits light when wielded (handled in the core rather than
via artifact fields), but that light has no particular color */
A("Sunsword", LONG_SWORD, (SPFX_RESTR | SPFX_DFLAG2), 0, M2_UNDEAD,
PHYS(5, 0), DFNS(AD_BLND), NO_CARY, 0, A_LAWFUL, NON_PM, NON_PM, 1500L,
NO_COLOR, SUNSWORD),
PHYS(5, 0), DFNS(AD_BLND), NO_CARY, BLINDING_RAY, A_LAWFUL, NON_PM,
NON_PM, 1500L, NO_COLOR, SUNSWORD),
/*
* The artifacts for the quest dungeon, all self-willed.

View File

@@ -103,6 +103,7 @@ extern long timet_delta(time_t, time_t);
/* ### apply.c ### */
extern void do_blinding_ray(struct obj *) NONNULLPTRS;
extern int doapply(void);
extern int dorub(void);
extern int dojump(void);