Ir para conteúdo

Posts Recomendados

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
Link para o comentário
https://xtibia.com/forum/topic/233547-ajuda-entender-script/
Compartilhar em outros sites

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á?

Link para o comentário
https://xtibia.com/forum/topic/233547-ajuda-entender-script/#findComment-1649032
Compartilhar em outros sites

  • 2 months later...
Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...