Muito bom o script, obrigado por compartilhar.
- Fórum
- OTServ
- Recursos
- Scripting
- Globalevents e Spells
- Efeitos texto animado ao upar level, ml, skills...
LA
creatureevent
Efeitos texto animado ao upar level, ml, skills...
Por larissaots, 03 de jun. de 2015 em Globalevents e Spells
script
2
1.8k


info
Grupo: Banidos
Registrado: 07/04/13
Posts: 648
Reputação: +163
Créditos: Snowsz
Em creaturescripts.xml adicione essa tag:
Em creaturescripts/scripts crie um arquivo com o nome "skilluptext.lua" e troque tudo que tem dentro por isso:
local config = { [0] = {msg = "Fist UP!", textcolor = 0}, [1] = {msg = "Club UP!", textcolor = 0}, [2] = {msg = "Sword UP!", textcolor = 0}, [3] = {msg = "Axe UP!", textcolor = 0}, [4] = {msg = "Dist UP!", textcolor = 0}, [5] = {msg = "Shield UP!", textcolor = 0}, [6] = {msg = "Fish UP!", textcolor = 0}, [7] = {msg = "Magic UP!", textcolor = 0}, [8] = {msg = "Level UP!", textcolor = 0} } function onAdvance(cid, skill, oldlevel, newlevel) if config[skill] then doSendAnimatedText(getThingPos(cid), config[skill].msg, config[skill].textcolor) end return true endEm creaturescripts/scripts, abra o login.lua e antes do último return true adicione essa função: