nefinoo
Carnage.flv
Lua:
local BONUSES = CreatureEvent("BONUSADDONS")
male = {128, 129, 130}
female = {136, 137, 138}
function BONUSES.onLogin(player)
local Outfits = 0
local sex = player:getSex()
if sex == 0 then
for i, looktype in pairs(female) do
if player:hasOutfit(looktype, 3) then
Outfits = Outfits + 1
end
end
else
for i, looktype in pairs(male) do
if player:hasOutfit(looktype, 3) then
Outfits = Outfits + 1
end
end
end
local Monturas = 0
local i = 0
for i = i+1, 187 do
if player:hasMount(i) then
Monturas = Monturas + 1
end
end
player:say("i have "..Monturas.." mounts!!!.", TALKTYPE_SAY)
player:say("I have "..Outfits.." outfits!!!.", TALKTYPE_SAY)
return true
end
BONUSES:register()
I have this script and I want to know if you could help me in putting permanent attributes every 5 complete addons.
Attributes like% health / mana, critical chance / amount, life leech chance / amount and mana leech chance / amount, etc ...
I am using tfs 1.3.