• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Problem to get spell magic level

keal

New Member
Joined
Mar 10, 2010
Messages
26
Reaction score
2
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.
 
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.
This is because in the script the spell table has to have a property labeled mlevel and this property has to be defined. We just can't call on properties which don't exist. You should also post the entire script when seeking help regarding issues where errors occur and although the script may not generate a traditional error, when something doesn't work as expect the fact that it doesn't perform is an error in itself.

So post your script so someone can help you make it work :)

At present the traditional spell book only lists spells by adventure level and not magic level.
 
Last edited:
Hello, thank you for the answer.
The mlvl variable exists and is in the array that the above function generates.
The problem is that it always returns 0 only when other variables works properly.

Talkactions !spells script

Lua:
function onSay(cid, words, param)


local exh = 12381
local tim = 3


if (getPlayerStorageValue(cid, exh) <= os.time()) then
            setPlayerStorageValue(cid,exh, os.time()+tim*1)
            local count = getPlayerInstantSpellCount(cid)
            local text = ""
            local t = {}
            for i = 0, count - 1 do
                local spell = getPlayerInstantSpellInfo(cid, i)
               
                if spell.level ~= 0 then
                    if spell.mlvl ~= 0 then
                        if spell.manapercent > 0 then
                            spell.mana = spell.manapercent .. "%"
                        end
                        table.insert(t, spell)
                    end
                end
            end
           
           
           
            table.sort(t, function(a, b) return a.level < b.level end)
            local prevLevel = -1
            for i, spell in ipairs(t) do
               
                local line = ""
                if prevLevel ~= spell.level then
                    if i ~= 1 then
                        line = "\n"
                    end
                    line = line .. "Spells for Level " .. spell.level .. "\n"
                    prevLevel = spell.level
                end
                text = text .. line .. "  " .. spell.words .. " - Mana: " .. spell.mana .. " - Magic lvl: " .. spell.mlevel .. "\n"
            end
            doShowTextDialog(cid, 2175, text)
           
            -- DUMP TABLE --
            function dump(o)
               if type(o) == 'table' then
                  local s = '{ '
                  for k,v in pairs(o) do
                     if type(k) ~= 'number' then k = '"'..k..'"' end
                     s = s .. '['..k..'] = ' .. dump(v) .. ','
                  end
                  return s .. '} '
               else
                  return tostring(o)
               end
            end
           
            print("Table:", dump(t))
           
           
else
        doPlayerSendCancel(cid, "Musisz poczekac ".. tim .." sekund zeby uzyc tej komendy ponownie.")
        doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
    return true
end

Thanks for any tips.
 
This line
Code:
if spell.mlvl ~= 0 then
should be
Code:
if spell.mlevel ~= 0 then
Reference:
C++:
int32_t LuaInterface::luaGetPlayerInstantSpellInfo(lua_State* L)
{
    //getPlayerInstantSpellInfo(cid, index)
    uint32_t index = popNumber(L);

    ScriptEnviroment* env = getEnv();
    Player* player = env->getPlayerByUID(popNumber(L));
    if(!player)
    {
        errorEx(getError(LUA_ERROR_PLAYER_NOT_FOUND));
        lua_pushboolean(L, false);
        return 1;
    }

    InstantSpell* spell = g_spells->getInstantSpellByIndex(player, index);
    if(!spell)
    {
        errorEx(getError(LUA_ERROR_SPELL_NOT_FOUND));
        lua_pushboolean(L, false);
        return 1;
    }

    lua_newtable(L);
    setField(L, "name", spell->getName());
    setField(L, "words", spell->getWords());
    setField(L, "level", spell->getLevel());
    setField(L, "mlevel", spell->getMagicLevel());
    setField(L, "mana", spell->getManaCost(player));
    setField(L, "manapercent", spell->getManaPercent());
    return 1;
}
 
Ok, thanks I tried everything and i forgot but the problem still exist.
Look at the screenshot. Magic lvl: always is 0 for ALL SPELLS.
The spell->getMagicLevel() dont return true value.


51413451946223372625.png
 
Ok, thanks I tried everything and i forgot but the problem still exist.
Look at the screenshot. Magic lvl: always is for ALL SPELLS.

51413451946223372625.png
Whats your spells.xml look like? If the attribute isn't set or doesn't exist in the spells.xml then it will use a default value of 0.
 
My spells.xml (some only spells) .. I tried add attribute "mlevel" and "maglevel" to any spell but it doesn't work :/

Lua:
<?xml version="1.0" encoding="UTF-8"?>
<spells>
  
 
    <!-- NOWE -->

    <instant name="Antidote Flam" words="Exana flam" lvl="10" mana="30" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing/antidote flam.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="3"/>
        <vocation id="4"/>
        <vocation id="5"/>
        <vocation id="6"/>
        <vocation id="7"/>
        <vocation id="8"/>
    </instant>
  
    <!-- Attack Spells -->
    <instant name="Death Strike" words="exori mort" lvl="16" mana="20" prem="0" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="1900" needlearn="0" event="script" value="attack/death strike.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="5"/>
        <vocation id="6"/>
    </instant>
    <instant name="Flame Strike" words="exori flam" lvl="12" mana="20" prem="0" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="1900" needlearn="0" event="script" value="attack/flame strike.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="5"/>
        <vocation id="6"/>
    </instant>
    <instant name="Energy Strike" words="exori vis" lvl="12" mana="20" prem="0" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="1900" needlearn="0" event="script" value="attack/energy strike.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="5"/>
        <vocation id="6"/>
    </instant>
    <instant name="Whirlwind Throw" words="exori hur" lvl="15" mana="40" prem="0" range="5" needtarget="1" blockwalls="1" needweapon="1" exhaustion="1900" needlearn="0" event="script" value="attack/whirlwind throw.lua">
        <vocation id="4"/>
        <vocation id="8"/>
    </instant>
    <instant name="Fire Wave" words="exevo flam hur" lvl="18" mana="25" direction="1" exhaustion="1900" needlearn="0" event="script" value="attack/fire wave.lua">
        <vocation id="1"/>
        <vocation id="5"/>
    </instant>
    <instant name="Ethereal Spear" words="exori con" lvl="23" mana="25" prem="0" range="5" needtarget="1" exhaustion="1900" blockwalls="1" needlearn="0" event="script" value="attack/ethereal spear.lua">
        <vocation id="3"/>
        <vocation id="7"/>
    </instant>
    <instant name="Energy Beam" words="exevo vis lux" lvl="23" mana="40" direction="1" exhaustion="1900" needlearn="0" event="script" value="attack/energy beam.lua">
        <vocation id="1"/>
        <vocation id="5"/>
    </instant>
    <instant name="Great Energy Beam" words="exevo gran vis lux" lvl="29" mana="110" direction="1" exhaustion="1900" needlearn="0" event="script" value="attack/great energy beam.lua">
        <vocation id="1"/>
        <vocation id="5"/>
    </instant>
    <instant name="Groundshaker" words="exori mas" lvl="33" mana="160" prem="0" needweapon="1" exhaustion="1900" needlearn="0" event="script" value="attack/groundshaker.lua">
        <vocation id="4"/>
        <vocation id="8"/>
    </instant>
    <instant name="Berserk" words="exori" lvl="35" mana="115" prem="0" needweapon="1" exhaustion="1900" needlearn="0" event="script" value="attack/berserk.lua">
        <vocation id="4"/>
        <vocation id="8"/>
    </instant>
    <instant name="Energy Wave" words="exevo vis hur" lvl="38" mana="170" direction="1" exhaustion="1900" needlearn="0" event="script" value="attack/energy wave.lua">
        <vocation id="1"/>
        <vocation id="5"/>
    </instant>
    <instant name="Rage of the Skies" words="exevo gran mas vis" lvl="55" mana="650" selftarget="1" prem="0" exhaustion="1900" needlearn="0" event="script" value="attack/rage of the skies.lua">
        <vocation id="1"/>
        <vocation id="5"/>
    </instant>
    <instant name="Fierce Berserk" words="exori gran" lvl="70" mana="340" prem="0" needweapon="1" exhaustion="1900" needlearn="0" event="script" value="attack/fierce berserk.lua">
        <vocation id="4"/>
        <vocation id="8"/>
    </instant>
        <instant name="Hells Core" words="exevo gran mas flam" lvl="60" mana="1200" prem="0" exhaustion="1900" selftarget="1" needlearn="0" event="script" value="attack/hells core.lua">
        <vocation id="1"/>
        <vocation id="5"/>
    </instant>
    <instant name="Divine Missile" words="exori san" lvl="40" mana="20" prem="0" range="4" casterTargetOrDirection="1" needlearn="0" blockwalls="1" exhaustion="1900" event="script" value="attack/divine missile.lua">
        <vocation id="3"/>
        <vocation id="7"/>
    </instant>
    <instant name="Divine Caldera" words="exevo mas san" lvl="50" mana="160" prem="0" selftarget="1" exhaustion="1900" needlearn="0" event="script" value="attack/divine caldera.lua">
        <vocation id="3"/>
        <vocation id="7"/>
    </instant>
    <instant name="Eternal Winter" words="exevo gran mas frigo" lvl="60" mana="1200" prem="0" selftarget="1" exhaustion="1900" needlearn="0" event="script" value="attack/eternal winter.lua">
        <vocation id="2"/>
        <vocation id="6"/>
    </instant>
    <instant name="Ice Strike" words="exori frigo" lvl="15" mana="20" prem="0" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="1900" needlearn="0" event="script" value="attack/ice strike.lua">
        <vocation id="1"/>
        <vocation id="5"/>
        <vocation id="2"/>
        <vocation id="6"/>
    </instant>
    <instant name="Ice Wave" words="exevo frigo hur" lvl="18" mana="25" direction="1" exhaustion="1900" needlearn="0" event="script" value="attack/ice wave.lua">
        <vocation id="2"/>
        <vocation id="6"/>
    </instant>
    <instant name="Terra Strike" words="exori tera" lvl="13" mana="20" prem="0" range="3" casterTargetOrDirection="1" blockwalls="1" exhaustion="1900" needlearn="0" event="script" value="attack/terra strike.lua">
        <vocation id="1"/>
        <vocation id="5"/>
        <vocation id="2"/>
        <vocation id="6"/>
    </instant>
    <instant name="Terra Wave" words="exevo tera hur" lvl="38" mana="210" direction="1" exhaustion="1900" needlearn="0" event="script" value="attack/terra wave.lua">
        <vocation id="2"/>
        <vocation id="6"/>
    </instant>
    <instant name="Wrath of Nature" words="exevo gran mas tera" lvl="55" mana="770" prem="0" selftarget="1" exhaustion="1900" needlearn="0" event="script" value="attack/wrath of nature.lua">
        <vocation id="2"/>
        <vocation id="6"/>
    </instant>

    <!-- Healing Spells -->
    <instant name="Light Healing" words="exura" lvl="9" mana="20" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing/light healing.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="3"/>
        <vocation id="4"/>
        <vocation id="5"/>
        <vocation id="6"/>
        <vocation id="7"/>
        <vocation id="8"/>
    </instant>
    <instant name="Antidote" words="exana pox" lvl="10" mana="30" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing/antidote.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="3"/>
        <vocation id="4"/>
        <vocation id="5"/>
        <vocation id="6"/>
        <vocation id="7"/>
        <vocation id="8"/>
    </instant>
    <instant name="Intense Healing" words="exura gran" lvl="11" mana="70" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing/intense healing.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="3"/>
        <vocation id="5"/>
        <vocation id="6"/>
        <vocation id="7"/>
    </instant>
    <instant name="Heal Friend" words="exura sio" lvl="18" mana="140" prem="0" aggressive="0" needtarget="1" params="1" exhaustion="1000" needlearn="0" event="script" value="healing/heal friend.lua">
        <vocation id="2"/>
        <vocation id="6"/>
    </instant>
    <instant name="Ultimate Healing" words="exura vita" lvl="20" mana="160" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="healing/ultimate healing.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="3"/>
        <vocation id="5"/>
        <vocation id="6"/>
        <vocation id="7"/>
    </instant>
    <instant name="Mass Healing" words="exura gran mas res" lvl="36" mana="150" prem="0" aggressive="0" exhaustion="1000" needlearn="0" event="script" value="healing/mass healing.lua">
        <vocation id="2"/>
        <vocation id="6"/>
    </instant>
    <instant name="Divine Healing" words="exura san" lvl="35" mana="210" prem="0" selftarget="1" aggressive="0" exhaustion="1000" needlearn="0" event="script" value="healing/divine healing.lua">
        <vocation id="3"/>
        <vocation id="7"/>
    </instant>
    <instant name="Wound Cleansing" words="exana mort" lvl="30" mana="65" prem="0" selftarget="1" aggressive="0" exhaustion="1000" needlearn="0" event="script" value="healing/wound cleasing.lua">
        <vocation id="4"/>
        <vocation id="8"/>
    </instant>

    <!-- Support Spells -->
    <instant name="Light" words="utevo lux" lvl="8" mana="20" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/light.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="3"/>
        <vocation id="4"/>
        <vocation id="5"/>
        <vocation id="6"/>
        <vocation id="7"/>
        <vocation id="8"/>
    </instant>
    <instant name="Find Person" words="exiva" lvl="8" mana="20" aggressive="0" params="1" exhaustion="1000" needlearn="0" event="function" value="searchPlayer">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="3"/>
        <vocation id="4"/>
        <vocation id="5"/>
        <vocation id="6"/>
        <vocation id="7"/>
        <vocation id="8"/>
    </instant>
    <instant name="Magic Rope" words="exani tera" lvl="9" mana="20" prem="0" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/magic rope.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="3"/>
        <vocation id="4"/>
        <vocation id="5"/>
        <vocation id="6"/>
        <vocation id="7"/>
        <vocation id="8"/>
    </instant>
    <instant name="Levitate" words="exani hur" lvl="12" mana="50" prem="0" aggressive="0" exhaustion="1000" params="1" needlearn="0" event="function" value="Levitate">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="3"/>
        <vocation id="4"/>
        <vocation id="5"/>
        <vocation id="6"/>
        <vocation id="7"/>
        <vocation id="8"/>
    </instant>
    <instant name="Great Light" words="utevo gran lux" lvl="13" mana="60" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/great light.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="3"/>
        <vocation id="4"/>
        <vocation id="5"/>
        <vocation id="6"/>
        <vocation id="7"/>
        <vocation id="8"/>
    </instant>
    <instant name="Magic Shield" words="utamo vita" lvl="14" mana="50" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/magic shield.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="3"/>
        <vocation id="5"/>
        <vocation id="6"/>
        <vocation id="7"/>
    </instant>
    <instant name="Haste" words="utani hur" lvl="14" mana="60" prem="0" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/haste.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="3"/>
        <vocation id="4"/>
        <vocation id="5"/>
        <vocation id="6"/>
        <vocation id="7"/>
        <vocation id="8"/>
    </instant>
    <instant name="Charge" words="utani tempo hur" lvl="25" mana="100" prem="0" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/charge.lua">
        <vocation id="4"/>
        <vocation id="8"/>
    </instant>
    <instant name="Swift Foot" words="utamo tempo san" lvl="55" mana="400" prem="0" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/swift foot.lua">
        <vocation id="3"/>
        <vocation id="7"/>
    </instant>
    <instant name="Challenge" words="exeta res" lvl="20" mana="30" prem="0" aggressive="0" exhaustion="1000" needlearn="0" event="script" value="support/challenge.lua">
        <vocation id="8"/>
    </instant>
    <instant name="Strong Haste" words="utani gran hur" lvl="20" mana="100" prem="0" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/strong haste.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="5"/>
        <vocation id="6"/>
    </instant>
    <instant name="Creature Illusion" words="utevo res ina" lvl="23" mana="100" aggressive="0" params="1" exhaustion="1000" needlearn="0" event="function" value="Illusion">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="5"/>
        <vocation id="6"/>
    </instant>
    <instant name="Ultimate Light" words="utevo vis lux" lvl="26" mana="140" prem="0" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/ultimate light.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="5"/>
        <vocation id="6"/>
    </instant>
    <instant name="Cancel Invisibility" words="exana ina" lvl="26" mana="200" prem="0" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/cancel invisibility.lua">
        <vocation id="1"/>
        <vocation id="5"/>
    </instant>
    <instant name="Invisibility" words="utana vid" lvl="35" mana="440" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/invisible.lua">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="3"/>
        <vocation id="5"/>
        <vocation id="6"/>
        <vocation id="7"/>
    </instant>
    <instant name="Sharpshooter" words="utito tempo san" lvl="60" mana="450" prem="0" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/sharpshooter.lua">
        <vocation id="3"/>
        <vocation id="7"/>
    </instant>
    <instant name="Protector" words="utamo tempo" lvl="55" mana="200" prem="0" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/protector.lua">
        <vocation id="4"/>
        <vocation id="8"/>
    </instant>
    <instant name="Blood Rage" words="utito tempo" lvl="60" mana="290" prem="0" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/blood rage.lua">
        <vocation id="4"/>
        <vocation id="8"/>
    </instant>

    <!-- Party Spells -->
    <instant name="Train Party" words="utito mas sio" lvl="32" mana="60" prem="0" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="party/train.lua">
        <vocation id="8"/>
    </instant>
    <instant name="Protect Party" words="utamo mas sio" lvl="32" mana="90" prem="0" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="party/protect.lua">
        <vocation id="7"/>
    </instant>
    <instant name="Heal Party" words="utura mas sio" lvl="32" mana="120" prem="0" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="party/heal.lua">
        <vocation id="6"/>
    </instant>
    <instant name="Enchant Party" words="utori mas sio" lvl="32" mana="120" prem="0" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="party/enchant.lua">
        <vocation id="5"/>
    </instant>

  <instant name="Pythius Curse" enabled="0" words="mons_pythius curse" prem="0" exhaustion="1900" needlearn="1" needtarget="1" casterTargetOrDirection="1" range="7" script="monster/pythius curse.lua"/>
   <instant name="Pythius Summon" words="mons_pythius summon" exhaustion="1900" selftarget="1" enabled="0" needlearn="1" script="monster/pythius summon.lua"/>


    <!-- Summon Spells -->
    <!-- <instant name="Summon Creature" words="utevo res" lvl="25" params="1" exhaustion="1900" needlearn="0" event="function" value="summonMonster">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="5"/>
        <vocation id="6"/>
    </instant> -->
    <instant name="Undead Legion" words="exana mas mort" lvl="30" mana="500" prem="0" exhaustion="1900" needlearn="0" event="script" value="summon/undead legion.lua">
        <vocation id="2"/>
        <vocation id="6"/>
    </instant>

    <!-- Conjure Spells -->
    <conjure name="Conjure Arrow" words="exevo con" lvl="13" mana="100" soul="1" conjureId="2544" conjureCount="10" exhaustion="1000" needlearn="0" event="function" value="conjureItem">
        <vocation id="3"/>
        <vocation id="7"/>
    </conjure>
    <instant name="Food" words="exevo pan" lvl="14" mana="120" soul="1" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/conjure food.lua">
        <vocation id="2"/>
        <vocation id="3"/>
        <vocation id="6"/>
        <vocation id="7"/>
    </instant>
    <conjure name="Poisoned Arrow" words="exevo con pox" lvl="16" mana="130" soul="2" conjureId="2545" conjureCount="7" exhaustion="1000" needlearn="0" event="function" value="conjureItem">
        <vocation id="3"/>
        <vocation id="7"/>
    </conjure>
    <conjure name="Conjure Bolt" words="exevo con mort" lvl="17" mana="140" soul="2" prem="0" conjureId="2543" conjureCount="5" exhaustion="1000" needlearn="0" event="function" value="conjureItem">
        <vocation id="3"/>
        <vocation id="7"/>
    </conjure>
    <conjure name="Conjure Sniper Arrow" words="exevo con hur" lvl="24" mana="160" soul="3" prem="0" conjureId="7364" conjureCount="5" exhaustion="1000" needlearn="0" event="function" value="conjureItem">
        <vocation id="3"/>
        <vocation id="7"/>
    </conjure>
    <conjure name="Explosive Arrow" words="exevo con flam" lvl="25" mana="290" soul="3" conjureId="2546" conjureCount="8" exhaustion="1000" needlearn="0" event="function" value="conjureItem">
        <vocation id="3"/>
        <vocation id="7"/>
    </conjure>
    <conjure name="Conjure Piercing Bolt" words="exevo con grav" lvl="33" mana="180" soul="3" prem="0" conjureId="7363" conjureCount="5" exhaustion="1000" needlearn="0" event="function" value="conjureItem">
        <vocation id="3"/>
        <vocation id="7"/>
    </conjure>
    <conjure name="Enchant Staff" words="exeta vis" lvl="41" mana="80" prem="0" conjureId="2433" reagentId="2401" exhaustion="1000" needlearn="0" event="function" value="conjureItem">
        <vocation id="5"/>
    </conjure>
    <conjure name="Enchant Spear" words="exeta con" lvl="45" mana="350" soul="3" prem="0" conjureId="7367" reagentId="2389" exhaustion="1000" needlearn="0" event="function" value="conjureItem">
        <vocation id="3"/>
        <vocation id="7"/>
    </conjure>
    <conjure name="Power Bolt" words="exevo con vis" lvl="59" mana="800" soul="4" prem="0" conjureId="2547" conjureCount="10" exhaustion="1000" needlearn="0" event="function" value="conjureItem">
        <vocation id="7"/>
    </conjure>
    <conjure name="Poison Field" words="adevo grav pox" lvl="14" mana="200" soul="1" reagentId="2260" conjureId="2285" conjureCount="3" exhaustion="1000" needlearn="0" event="function" value="conjureRune">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="5"/>
        <vocation id="6"/>
    </conjure>
    <conjure name="Light Magic Missile" words="adori min vis" lvl="15" mana="120" soul="1" reagentId="2260" conjureId="2287" conjureCount="10" exhaustion="1000" needlearn="0" event="function" value="conjureRune">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="5"/>
        <vocation id="6"/>
    </conjure>
    <conjure name="Fire Field" words="adevo grav flam" lvl="15" mana="240" soul="1" reagentId="2260" conjureId="2301" conjureCount="3" exhaustion="1000" needlearn="0" event="function" value="conjureRune">
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="5"/>
        <vocation id="6"/>
    </conjure>
    <conjure name="Fireball" words="adori flam" lvl="27" mana="460" soul="3" prem="0" reagentId="2260" conjureId="2302" conjureCount="5" exhaustion="1000" needlearn="0" event="function" value="conjureRune">
        <vocation id="1"/>
        <vocation id="5"/>
    </conjure>
  
</spells>
 
Last edited:
Solution
Back
Top