Essa script está falando que vai dividir meio a meio a experiencia da party
- Forums
- xTibia - Notícias e Suporte
- Soluções
- Archived
- Ajuda entender script
5
970
info
Group: Visconde
Joined: 28/02/14
Posts: 416
Reputation: +90
Gender: Masculino

26 de abril de 2015 às 21:58
info
Group: Campones
Joined: 14/04/13
Posts: 89
Reputation: 0
Tibia Character: GM Strikker

27 de abril de 2015 às 14:14
Então se eu modificar essa variavel pra tipo
local exp = 6.0
Vai ficar 3x mais rapido de upar level né? Pros dois a exp vai ficar * 3?
Como usar esse creature? Colocar as tags lá?
info
Group: Artesão
Joined: 20/04/10
Posts: 109
Reputation: +23
Tibia Character: Charles Mil

28 de abril de 2015 às 10:02
Ele pega as rates de xp do player e soma com a variável xp.
Ex:
Rate: 2x
Local exp = 5.0
Rate final: 5+2 = 7x
Quando eu chegar em casa te ajudo a ativar esse script
3 months later...




info
Group: Campones
Joined: 14/04/13
Posts: 89
Reputation: 0
Tibia Character: GM Strikker
Alguem me ajuda a entender esse script, como ele funciona, como editar e como usar?
function onCombat(cid, target) local pid = isInParty(cid) local exp = 1.0 if pid ~= false then end local _v = getPlayerRates(cid)[SKILL__LEVEL] if pid ~= true and getConfigValue("EnableExtraPartyEXP") == true then doPlayerSetRate(cid, SKILL__LEVEL, (_v+exp)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You are currently gaining more experince due to being in a party.") end return true end