Historical signature: AddQuestStepSpell(quest, step, description, quantity, percentage, str_taskgroup, icon, cast_spell_id)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: AddQuestStepSpell(quest, step, description, quantity, percentage, str_taskgroup, icon, cast_spell_id)
Description:
Adds a quest step to the Player's journal requiring that they use a spell id supplied by cast_spell_id.
Parameters:
quest (Quest) - Quest object representing quest.
step (int32) - Integer value step.
description (int32) - Integer value description.
quantity (int32) - Integer value quantity.
percentage (int32) - Integer value percentage.
str_taskgroup (string) - String str_taskgroup.
icon (int32) - Integer value icon.
Returns: None.
Checked example
Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.
AddQuestStepSpell(Quest, 1, "I need to destroy the Haoaeran supplies.", 5, 100, ".", 611, 5019)
Evidence: server/Quests/TimorousDeep/a_reverse_supply_run.lua:17; binding EQ2Emu_lua_AddQuestStepSpell.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.