torilmud / issues

Bug reports for TorilMUD
11 stars 8 forks source link

Weirdness with spells and prac command #837

Open OghmaToril opened 3 years ago

OghmaToril commented 3 years ago

Level 9 enchanter has the following spells in their book:

The original writer of a spellbook with a wooden cover appears to have been a(n) Enchanter.
It contains the spells: magic missile, erase, detect invisibility, detect magic, mage flame, Magic Missile, Detect Magic, Detect 
Invisibility, Erase, Mage Flame, Energy Shield, Chill Touch, Burning Hands, Minor Creation, Invisibility and has 65 free pages.

Newbie books seem to come pre-scribed with the old version of 1st circle spells

Additionally, there is oddness with the practice and spells commands

prac
You can practice any of the following skills/spells:

Generic Spells:

minor creation             2nd circle  
erase                      1st circle  [in spellbook]

Enchantment Spells:

mage flame                 1st circle  [in spellbook]
energy shield              2nd circle  

Divination Spells:

detect invisibility        1st circle  [in spellbook]
detect magic               1st circle  [in spellbook]

Invocation Spells:

burning hands              2nd circle  
chill touch                2nd circle  
magic missile              1st circle  [in spellbook]

Illusion Spells:

invisibility               2nd circle  
faerie fire                2nd circle  

Intelligence Based Skills:
skills go here, removed from log

Available powers:
Chill Touch                2nd circle [in spellbook]
Burning Hands              2nd circle [in spellbook]
Invisibility               2nd circle [in spellbook]
Faerie Fire                2nd circle 
Minor Creation             2nd circle [in spellbook]
Energy Shield              2nd circle [in spellbook]
Detect Magic               1st circle [in spellbook]
Detect Invisibility        1st circle [in spellbook]
Erase                      1st circle [in spellbook]
Magic Missile              1st circle [in spellbook]
Mage Flame                 1st circle [in spellbook]
Ray of Frost               1st circle 
Acid Splash                1st circle 
Light                      1st circle 
Fire Bolt                  1st circle 

A couple things I'm seeing with this. First, when you use practice it lists spells twice. Once at the top and once at the bottom. On the top, it seems to look for only old school spells. The bottom seems to look for powers. I am assuming this is the case for the skills command as well.

spells

Generic Spells:

erase                      1st circle  [in spellbook]

Enchantment Spells:

mage flame                 1st circle  [in spellbook]

Divination Spells:

detect invisibility        1st circle  [in spellbook]
detect magic               1st circle  [in spellbook]

Invocation Spells:

magic missile              1st circle  [in spellbook]

spells command seems to only show 1st circle spells. Although this might be a paging issue.

GeneralGormal commented 3 years ago

Also you can't "powers info light" to see the cantrip, it shows lightning bolt