Exp Bonus Para Nível 40 Ou Menos

PedroSouza
em Scripts

PedroSouza

avatar
Artesão
Artesão

INFOS

Grupo: ArtesãoRegistrado: 06/02/12Posts: 106

Amigos,

 

tenho um servidor de pokémon e preciso dar 50% de exp aos níveis 40 ou menores. Segue a parte importante do script:

 

local givenexp = getWildPokemonExp(cid)

local killer = getItemAttribute(corpse.uid, "corpseowner")

 

if givenexp > 0 then

for a = 1, #deathList do

local pk = deathList[a]

if isCreature(pk) then

local extra = isPremium(pk) and 0.31 or 0

playerAddExp(pk, math.floor(playerExperienceRate * givenexp * getDamageMapPercent(pk, cid)*(1+extra)))

end

end

end

 

Aguardo ajuda.

 

Grato

Newtonnotwen

Só quero saber o porque, o resto são detalhes.
avatar
Conde
Conde

INFOS

Grupo: CondeRegistrado: 04/08/12Posts: 762

Usa o exp stages:

 

<?xml version="1.0" encoding="UTF-8"?>

<stages>

<world id="0" multiplier="1">

<stage minlevel="1" maxlevel="40" multiplier="100"/>

<stage minlevel="41" multiplier="50"/>

</world>

</stages>

 

-Vermelho: exp para o level.

-Verde: level

b5feb15da83eca8bd379039567f3992860f398f765aea98c57dcd2a1ffb0d35ca20603caaf7d9f03da39a3ee5e6b4b0d3255bfef95601890afd807098c4de7dfec2a3351efcdaa9ed8451e6c.gif

PedroSouza

avatar
Artesão
Artesão

INFOS

Grupo: ArtesãoRegistrado: 06/02/12Posts: 106

Usa o exp stages:

 

<?xml version="1.0" encoding="UTF-8"?>

<stages>

<world id="0" multiplier="1">

<stage minlevel="1" maxlevel="40" multiplier="100"/>

<stage minlevel="41" multiplier="50"/>

</world>

</stages>

 

-Vermelho: exp para o level.

-Verde: level

 

Não funciona no servidor de pokémon.

 

Alguém?

 

.

notle2012

uoʇן£
avatar
Conde
Conde

INFOS

Grupo: CondeRegistrado: 03/01/12Posts: 884Char no Tibia: Segredo

vai em

config.lua

procure por

 

experienceStages =

deixa assim

experienceStages = true

 

vai em

data\XML\stages.xml

<?xml version="1.0" encoding="UTF-8"?>
<stages>
<world id="0" multiplier="1">
<stage minlevel="1" maxlevel="40" multiplier="100"/>
<stage minlevel="41" multiplier="50"/>
</world>
</stages>

Por Favor quando for fazer pedidos faz o pedido com mais clareza e com os mínimos detalhes
GOSTO DOS MEUS SCRIPT CLICK EM CURTIR :D

 

sistema de fome

TROCA TROCA

sistema coliseum by notle v1

new sistema [KILLER-UP]

 

 

jcLmJPT.png