- Code: Select all
Welcome back Gorka! Press return to continue...
Reconnecting.
<1883hp 852ma 655mv -15.0ac Settlestone 51807024724xp -%>
^[F210][^oINFO^[F210]]^n MXP version 1.0 detected and enabled.
None of my MSDP is working since reset.
Welcome back Gorka! Press return to continue...
Reconnecting.
<1883hp 852ma 655mv -15.0ac Settlestone 51807024724xp -%>
^[F210][^oINFO^[F210]]^n MXP version 1.0 detected and enabled.
Welcome to the land of SlothMUD. May your visit here be... Interesting.
Reconnecting.
Here are the currently open channels.
Locked? #Users Name
------------------------------------
No 5 <SEND "channel join slackers|channel who slackers" hint="Join slackers|Show members of slackers?">slackers </SEND>
function u.sumAffect(modify)
local sum = {
spell = 0,
class = 0,
item = 0,
}
for k,v in pairs(msdp.CHARACTER_AFFECTS) do
if v.MODIFY == modify then
local key
if v.SOURCE == "item-generated" then
key = "item"
elseif v.SOURCE == "class" then
key = "class"
else
key = "spell"
end
sum[key] = sum[key] + tonumber(v.POINTS)
end
end
return sum
end
function u.sumAffectSavingSpell()
return u.sumAffect("SAVING_SPELL")
end
Return to General Chat (Registered)
Users browsing this forum: No registered users and 27 guests