Hi,
I'm using tfs 0.4
I'm making spell book command ( !spells ). I want to display a required magic level of spell.
text = text .. line .. " " .. spell.words .. " - " .. spell.name .. " : " .. spell.mlevel .. "\n"
The function getPlayerInstantSpellInfo and index mlevel always return 0.
I found this function luascript.cpp -> setField(L, "mlevel", spell->getMagicLevel());
Anyone know what may be wrong? Thanks for help and sorry for my english.
I'm using tfs 0.4
I'm making spell book command ( !spells ). I want to display a required magic level of spell.
text = text .. line .. " " .. spell.words .. " - " .. spell.name .. " : " .. spell.mlevel .. "\n"
The function getPlayerInstantSpellInfo and index mlevel always return 0.
I found this function luascript.cpp -> setField(L, "mlevel", spell->getMagicLevel());
Anyone know what may be wrong? Thanks for help and sorry for my english.