m
no edit summary
(Page created) |
mNo edit summary |
||
| Line 1: | Line 1: | ||
PickupSpell(spellId, bookType) | PickupSpell("spellName" | spellId, bookType) | ||
Puts a spell with spellId on mouse cursor. | Puts a spell with spellId on mouse cursor. | ||
| Line 5: | Line 5: | ||
---- | ---- | ||
;''Arguments'' | ;''Arguments'' | ||
:;spellName: String - the name of the spell. | |||
:;spellId : Numeric - the offset (position) of spell in spellbook. SpellId can change when you learn new spells. | :;spellId : Numeric - the offset (position) of spell in spellbook. SpellId can change when you learn new spells. | ||
| Line 25: | Line 27: | ||
This example shows, how to put the most powerful version of a spell on cursor. | This example shows, how to put the most powerful version of a spell on cursor. | ||
PickupSpell(spellName) | |||
or | |||
function findSpell(spellName, bookType) | function findSpell(spellName, bookType) | ||