Nsane said: »
In the lib file
Under precast add...
Under midcast add...
Code
if buffactive['addendum: black'] or buffactive['dark arts'] then if spell.name:match('Impact') then equip(sets.precast["Impact"]) elseif spell.name:match('Dispelga') then equip(sets.precast["Dispelga"]) elseif spell.type == 'BlackMagic' then equip(sets.precast.grimoire) end
Under precast add...
Code
sets.precast["Dispelga"] = {}
Under midcast add...
Code
sets.midcast["Dispelga"] = {}
thats my libs
Code
if buffactive['addendum: black'] or buffactive['dark arts'] then if spell.name:match('Impact') then equip(sets.precast["Impact"]) elseif spell.name:match('Dispelga') then equip(sets.precast["Dispelga"]) elseif spell.type == 'BlackMagic' then equip(sets.precast.grimoire) end if buffactive['addendum: black'] or buffactive['dark arts'] then if spell.type == 'BlackMagic' then equip(sets.precast.grimoire) -- if spell.name == 'Impact' then -- equip(sets.precast.Impact) -- --if spell.name == 'Dispelga' then -- --equip(sets.precast['Dispelga']) -- end end end elseif buffactive['addendum: white'] or buffactive['light arts'] then if spell.type == 'WhiteMagic' then equip(sets.precast.grimoire) if spell.name == 'Impact' then equip(sets.precast.Impact) if spell.name == 'Dispelga' then equip(sets.precast.Dispelga) end end end end end
if i keep like that doesnt work. but if i comment
Code
if buffactive['addendum: black'] or buffactive['dark arts'] then if spell.type == 'BlackMagic' then equip(sets.precast.grimoire) -- if spell.name == 'Impact' then -- equip(sets.precast.Impact) -- --if spell.name == 'Dispelga' then -- --equip(sets.precast['Dispelga']) -- end
than it works. but its correct to keep this way for the rest of the black spells ?