Skip to content

Casting spell summon creature from scroll doesnt recognize it #1527

@GladieUO

Description

@GladieUO

Casting spells that are using sm_menu will not use scroll at the end of cast, and check for reagent.
@SpellSelect on select sees the scroll, but once we start casting, after some time it triggers again, however this time ARGN1 is not scroll, but the char, this way its recognized as spell from book, which is wrong.
I had to do temporary fix.
This causes sphere to check for reagents, instead of scroll.

ON=@SPELLSELECT 
IF (<ARGN3>==2) && (<ARGN1>==40)
	CONSUME 1 i_scroll_summon_creature
	RETURN 6
ENDIF

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions