[DiscordArchive] spell 483 "Learning" is used by some Items like tomes (item id 22890 for example). spell 483 does no
[DiscordArchive] spell 483 "Learning" is used by some Items like tomes (item id 22890 for example). spell 483 does no
Archived author: Slumber • Posted: 2023-07-11T11:46:17.925000+00:00
Original source
spell 483 "Learning" is used by some Items like tomes (item id 22890 for example). spell 483 does not state any spell id in miscvalue or triggered spell as can be seen in the screenshot from spell editor. How does Spell 483 know which spell to teach? is it set in the item that uses the spell? if so, where?
![[Image: image.png?ex=690c8a8c&is=690b390c&hm=8f0...0907860f2&]](https://cdn.discordapp.com/attachments/415944535718494208/1128291183110664212/image.png?ex=690c8a8c&is=690b390c&hm=8f0d99e35ac84aac08a07ea2a3da0d5e405bea90996018b2e85dca30907860f2&)
Archived author: Slumber • Posted: 2023-07-11T11:46:20.740000+00:00
Original source
![[Image: image.png?ex=690c8a8c&is=690b390c&hm=8f0...0907860f2&]](https://cdn.discordapp.com/attachments/415944535718494208/1128291183110664212/image.png?ex=690c8a8c&is=690b390c&hm=8f0d99e35ac84aac08a07ea2a3da0d5e405bea90996018b2e85dca30907860f2&)
Archived author: Aleist3r • Posted: 2023-07-11T11:49:30.910000+00:00
Original source
it is handled in database, item_template
Archived author: Aleist3r • Posted: 2023-07-11T11:51:33.251000+00:00
Original source
there are two spells assigned to items like that, one has spelltrigger = 0, other has spelltrigger = 6
Archived author: Aleist3r • Posted: 2023-07-11T11:52:33.800000+00:00
Original source
for server core spelltrigger = 6 means it is id of spell that should be learnt when item is used
Archived author: Slumber • Posted: 2023-07-11T11:53:17.241000+00:00
Original source
yea, but where is the spell id referenced?
![[Image: image.png?ex=690c8d87&is=690b3c07&hm=6c4...b2f040e9b&]](https://cdn.discordapp.com/attachments/415944535718494208/1128294380810277007/image.png?ex=690c8d87&is=690b3c07&hm=6c40409d679f0e3e1faa514364ffe14d590b6941dc54dfce3b1ff52b2f040e9b&)
Archived author: Aleist3r • Posted: 2023-07-11T11:59:03.179000+00:00
Original source
server sql database, in item_template as i said
![[Image: image.png?ex=690c8d87&is=690b3c07&hm=6c4...b2f040e9b&]](https://cdn.discordapp.com/attachments/415944535718494208/1128294380810277007/image.png?ex=690c8d87&is=690b3c07&hm=6c40409d679f0e3e1faa514364ffe14d590b6941dc54dfce3b1ff52b2f040e9b&)