Muito bom, com certeza ajudará muita gente... Existem poucos sistemas script para TFS 1x.
- Fórum
- OTServ
- Recursos
- Scripting
- Actions e Talkactions
- (tfs 1.0) Item de double exp (2 horas, configurável)
AD
action
(tfs 1.0) Item de double exp (2 horas, configurável)
Por Administrador, 15 de ago. de 2016 em Actions e Talkactions
1.0
double exp
exp
xp
semanas
horas
dias
meses
2
2.1k


info
Grupo: Administrador
Registrado: 08/07/05
Posts: 5.8k
Reputação: +1.4k
Gênero: Outro
data/actions/double.lua
function onUse(cid, item, fromPosition, itemEx, toPosition)local player = Player(cid)player:setStorageValue(80000, os.time() + 2 * 60 * 60)Item(item.uid):remove()player:say("You have just activated 2 hours of Double Experience!", TALKTYPE_MONSTER_SAY)return trueenddata/actions.xml
data/events/player.lua
function Player:onGainExperience(source, exp, rawExp) local thing = self:getStorageValue(80000) if thing > os.time() then return exp * 2.0 end return expenddata/events.xml
Mude
Para
Créditos: imkingran