Jump to content

Spellbook

From the Asheron's Call Commons Encyclopedia
Spellbook
Entity TypeMechanic
Spellcast Banks8
Filter Order Code646
Spell Removed Message Code424
Sort Order Before June 2002alphabetical
Changed inJune 2002 (Castling)
Storagetable keyed by spell id
Restrictionrefuses to add spell id zero
Opened fromgreen button with a wand on it
Filter Maskbutton on sets bit, off clears bit
Filter Buttons AddedJuly 2002 update, at bottom of panel

Spellbook is a game mechanic in Asheron's Call.

Details

AttributeValue
Spell Added Message Code705; requires magic system present[1][2][3][4][5][6][7][8]
School BitsCreature 0x1, Item 0x2, Life 0x4, War 0x8[9][10][11][12][13]
Level BitsLevel 1 at 0x10 through Level 9 at 0x1000[9][10][11][12][13]
Scroll Listshows Self or Other version from July 2002[9][10][11][12][13]
Default Filter0x3FFF sets every school, level and void bit[9][10][11][12][13]
Noticespell-added notice raised after add without checking success[1][2][3][4][5][6][7][8]
Spell Infoa spell can be appraised or right-clicked to see what it does[14]
Sortingalphabetical by name after July 2002, level 7 spells exception[9][10][11][12][13]
Sort Order from June 2002by school (Creature, Item, Life, War), then grouped by effect, then ordered by level[15]
Addpackable hash table add with spell id as key; duplicate add inserts nothing and returns zero[1][2][3][4][5][6][7][8]

See also

References

  1. ^ Retail client program code, routine CSpellBook::AddSpell.
  2. ^ Retail client program code and headers.
  3. ^ Retail client program code, routine ClientMagicSystem::Handle_Magic__UpdateSpell.
  4. ^ Retail client program code, routine CM_Magic::DispatchUI_UpdateSpell.
  5. ^ Retail client program code, routine ClientMagicSystem::Handle_Magic__RemoveSpell.
  6. ^ Retail client program code, routine CM_Magic::DispatchUI_RemoveSpell.
  7. ^ Retail client program code, routine PackableHashTable<unsigned.
  8. ^ Retail client program code, routine CACQualities::AddSpell.
  9. ^ Retail client program code, routine CM_Character::Event_SpellbookFilterEvent.
  10. ^ Retail client program code, routine gmSpellbookUI::UpdateFilter.
  11. ^ Retail client program headers: enum SpellbookFilter.
  12. ^ Retail client program headers: enum SpellBanks.
  13. ^ http://zone.msn.com:80/asheronscall/news/ASHEeventbuild.asp — archived 2002-08-02 (Internet Archive).
  14. ^ Observed world data: server world-database records (reconstruction tier).
  15. ^ http://www.zone.com:80/asheronscall/news/ASHEletter0602.asp — archived 2002-08-22 (Internet Archive).