|
<? for Id, Obj in SLK.Foreach(SLK.Unit) do
if Obj['Primary']==nil then
for Key, Val in SLK.Foreach(SLK.Unit[Id]) do
local KeyStr=string.sub(Key,0,8)
local Switch=false
local i=0
if KeyStr=="abilList" then
KeyStr=Val
while i<=string.len(KeyStr)-4 do
if string.sub(i,i+4)=="Aloc" then
Switch=true
i=string.len(KeyStr)
end
i=i+5
end
if not Switch then
?>
SaveStr(spellht,-6,'<?= Id ?>',"<?= Val?>")
<?end
end
end
end
end?> |
|