nexus/doc/add_spells.txt

25 lines
693 B
Plaintext
Raw Normal View History

2011-02-01 06:16:13 +11:00
defs.h:
add the OT_xxx enum
(optional) add a scroll to do the same effect - not for boosts though
(optional) add a potion to do the same effect - not for boosts though
2011-02-01 06:16:13 +11:00
objects.c:
define the spell
remember to have spelllevel
2011-02-01 06:16:13 +11:00
(optional) add a scroll to do the same effect, use F_LINKSPELL
(optional) add a potion to do the same effect
2011-03-04 12:22:36 +11:00
assign AI hint flags so it knows how to cast it
2011-02-01 06:16:13 +11:00
spell.c:
implement the effects
remember to fill in *seenbyplayer if there is a scroll version
cope with:
blessed/cursed
target having antimagic - use hasmr(victim)
blindness if the effect is vision-based
2011-03-04 12:22:36 +11:00
ai.c
- [+] young hawk moving very slowly? was healing. - [+] make monsters heal faster when resting - [+] make pet rest when you do - [+] allow 'R' to heal allies - [+] F_RESTUNTILALLIES - [+] mindless/animal mosnters won't throw things - [+] announceflag for attrset not working * [+] feeblemind spell - reduces intelligence to ANIMAL. - [+] ai: if we are carrying too much, drop something (non-weapons/armour first) - [+] teleport spell should teleport any adjacent allies too. * [+] new 'C'hat commands: * [+] change 'resist elements' potion to 'rum' * [+] notify when pet is low on hp - [+] why could a pirate use a biuckler? * [+] genericise usage of canhaveobmod! - [+] armour mod: blooodstained. adds scary. - [+] CRASH when you have two weapons and catch a glowbug in your flask. * [+] potion of restoration onto frozen axe: - [+] slow spell repeated message: The brown snake looks sluggish. The brown snake is now moving slower. - [+] make you only hear one thing each turn ? - [+] always draw impassable objects on top - [+] special ash - [+] exploding powder - explode in radius 1 around player (including player) - [+] concealing powder - create smoke cloud radius 3 around player - [+] redo levelup logic. - [+] trigger LevUp when you have 'newskillready' - [+] announce when you gain level. - [+] can't gain more experience when LevUp! - [+] only update maxhp/mp from new level after you train - [+] diety can't use abilities. fixed. * [+] when i exit from@S output, statbar isn't redrawn * [+] make SKILLS page show which skills you can learn. - [+] In @s, downline isn't showing the title on the second page of SKILLS... - [+] show POWER in @M spells page - [+] ###--- - [+] show cost RANGE in @M for varpower ones - [+] need getspellcosttext(spellid, power, buf) function - [+] 25-62MP - [+] leftover rubbish chars at end of ---- in doheading() - [+] mosnters should follow you up/down stairs * [+] different poison types - [+] implement tremorsense (like darkvision butrun can't be blinded etc) * [+] implement HIDE ability * [+] Thief job - [+] if you walk into a room and every cell is lit, reveal it all. - [+] auto-learn jump ability with high athletics skill * [+] secret doors - [+] items to spot secret doors - [+] gem of seeing - [+] ENHANCESEARCH - [+] F_SEEINVIS - [+] spell: "reveal hidden" - [+] shows secret doors - [+] removes invisibility - [+] wand of detect hidden - [+] ... casts the spell
2011-04-14 09:44:29 +10:00
update aigetspelltarget(); (if we have target ST_SPECIAL)
update aispellok();
2011-03-04 12:22:36 +11:00