slookup

Posted by Nick Gammon on Tue 06 Jun 2006 06:06 AM — 1 posts, 9,593 views.

Australia Forum Administrator #0
Command:   slookup
Handler:   do_slookup
Min level: 54
Min posn:  any (dead)
Log:       normal

Syntax: slookup <skill-or-spell>
Syntax: slookup all

SLOOKUP shows you the internal 'sn' and external 'slot' for the given skill
or spell.  The 'sn' is used for OSET and OSTAT.  The 'slot' is used for area
files.  Neither 'sn' nor 'slot' is used for player files; these operate with
the actual skill and spell names.

SLOOKUP ALL shows this information for all skills and spells.




Add comments here ...

Example:


slookup all
Sn:    0 Slot:   95 Skill/spell: 'reserved            ' Damtype: none
Sn:    1 Slot:  246 Skill/spell: 'Wrath of Dominus    ' Damtype: none
Sn:    2 Slot:  302 Skill/spell: 'acetum primus       ' Damtype: acid
Sn:    3 Slot:   70 Skill/spell: 'acid blast          ' Damtype: acid
Sn:    4 Slot:  200 Skill/spell: 'acid breath         ' Damtype: acid
Sn:    5 Slot:    0 Skill/spell: 'acidmist            ' Damtype: none
Sn:    6 Slot:    0 Skill/spell: 'acidshot            ' Damtype: acid

...  (and so on)

slookup poison
Sn:  119 Slot:   33 Spell: 'poison              '
Flags: pksensitive
Saves: none  SaveEffect: none
Type: Spell  Target: offensive  Minpos: 11  Mana: 10  Beats: 20  Range: 0
Flags: 131072  Guild: -1  Value: 0  Info: 0  Code: spell_poison
Sectors Allowed: All
Dammsg: poison
Wearoff: You feel less sick.
--------------------------[CLASS USE]--------------------------
Mag) lvl:  51 max: 95%  Cle) lvl:   8 max: 95%  Thi) lvl:  51 max: 95%
War) lvl:  51 max: 95%  Vam) lvl:   6 max: 95%  Dru) lvl:  10 max: 95%
Ran) lvl:  19 max: 85%  Aug) lvl:  19 max: 90%  Pal) lvl:  51 max: 95%