Ir para conteúdo
  • 0

[Resolvido] Balanceamento de Pokemons - [Base OTP]


sirvitor4

Pergunta

Bom dia,

Alguém saberia me informar em qual arquivo devo mexer para alterar o dano do pokemon summonado?

Oq acontece é o seguinte, os pokes selvagens estão dando dano relativamente baixo e meus pokemons não causam dano algum(NULO).

 

No fim, meu pokemon apanha até morrer e os selvagens estão full life.

 

Dou Rep+ pras respostas

 

 

EDIT: 

Notei q o bulbasaur ao usar leech seed causa um dano absurdo enquanto o charizard n tira vida com nenhuma skill

 

EDIT 2:

 

https://prnt.sc/py6z36

Tentei editar pelo configuration.lua mas só a agilidade fez diferença.

O pokemon continua sem dar atques basicos ou causar dano com skills exceto leech seed

Editado por sirvitor4
Link para o comentário
Compartilhar em outros sites

10 respostass a esta questão

Posts Recomendados

  • 1

vá em data/lib e procure configuration.lua

nessa parte

 

pokes = {       --tabela 

["Scorbuuney"] = {offense = 2.0, defense = 14.0, specialattack = 6.0, specialdefense = 6.0, vitality = 7.5, agility = 110, exp = 108, level = 14, wildLvl = 16, type = "fire", type2 = "no type"},

 

nessa tabela você faz o balanceamento de cada pokemon

 

( obs: sinceramente não tenho ideia de como e feito ou como você ira fazer então boa sorte )

Link para o comentário
Compartilhar em outros sites

  • 0
6 minutos atrás, NiCaDo disse:

vá em data/lib e procure configuration.lua

nessa parte

 

pokes = {       --tabela 

["Scorbuuney"] = {offense = 2.0, defense = 14.0, specialattack = 6.0, specialdefense = 6.0, vitality = 7.5, agility = 110, exp = 108, level = 14, wildLvl = 16, type = "fire", type2 = "no type"},

 

nessa tabela você faz o balanceamento de cada pokemon

 

( obs: sinceramente não tenho ideia de como e feito ou como você ira fazer então boa sorte )

Pois é amigo, mas como informei no EDIT 2, o unico status que está mudando é o de agilidade. Os pokemons com dono continuam n batendo nem ataque basico :/

Link para o comentário
Compartilhar em outros sites

  • 1
7 minutos atrás, sirvitor4 disse:

Pois é amigo, mas como informei no EDIT 2, o unico status que está mudando é o de agilidade. Os pokemons com dono continuam n batendo nem ataque basico :/

causa algum erro na distro? durante a batalha entre os pokemon

Link para o comentário
Compartilhar em outros sites

  • 0
3 minutos atrás, NiCaDo disse:

causa algum erro na distro? durante a batalha entre os pokemon

Citar

 


[17/11/2019 15:05:00] [Error - GlobalEvent Interface] 
[17/11/2019 15:05:00] datapack/globalevents/scripts/record.lua:onRecord
[17/11/2019 15:05:00] Description: 
[17/11/2019 15:05:00] datapack/globalevents/scripts/record.lua:2: attempt to concatenate a nil value
[17/11/2019 15:05:00] stack traceback:
[17/11/2019 15:05:00]     datapack/globalevents/scripts/record.lua:2: in function <datapack/globalevents/scripts/record.lua:1>
[17/11/2019 15:05:00] Contanova has logged in.
[17/11/2019 15:05:00] > Broadcasted message: "[LOTTERY SYSTEM] Parabens: Contanova, Ganhou: Fire Stone! Congratulations! (Next Lottery in 5 hours)".
[17/11/2019 15:05:26] Charmeleon ball has been created by Contanova.

[17/11/2019 15:05:51] [Error - CreatureScript Interface] 
[17/11/2019 15:05:51] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:51] Description: 
[17/11/2019 15:05:51] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:51] stack traceback:
[17/11/2019 15:05:51]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:51]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:51] [Error - CreatureScript Interface] 
[17/11/2019 15:05:51] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:51] Description: 
[17/11/2019 15:05:51] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:51] stack traceback:
[17/11/2019 15:05:51]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:51]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:51] [Error - CreatureScript Interface] 
[17/11/2019 15:05:51] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:51] Description: 
[17/11/2019 15:05:51] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:51] stack traceback:
[17/11/2019 15:05:52]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:52]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:52] [Error - CreatureScript Interface] 
[17/11/2019 15:05:52] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:52] Description: 
[17/11/2019 15:05:52] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:52] stack traceback:
[17/11/2019 15:05:52]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:52]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:52] [Error - CreatureScript Interface] 
[17/11/2019 15:05:52] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:52] Description: 
[17/11/2019 15:05:52] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:52] stack traceback:
[17/11/2019 15:05:52]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:52]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:52] [Error - CreatureScript Interface] 
[17/11/2019 15:05:52] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:52] Description: 
[17/11/2019 15:05:52] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:52] stack traceback:
[17/11/2019 15:05:52]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:52]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:53] [Error - CreatureScript Interface] 
[17/11/2019 15:05:53] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:53] Description: 
[17/11/2019 15:05:53] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:53] stack traceback:
[17/11/2019 15:05:53]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:53]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:53] [Error - CreatureScript Interface] 
[17/11/2019 15:05:53] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:53] Description: 
[17/11/2019 15:05:53] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:53] stack traceback:
[17/11/2019 15:05:53]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:53]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:53] [Error - CreatureScript Interface] 
[17/11/2019 15:05:53] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:53] Description: 
[17/11/2019 15:05:53] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:53] stack traceback:
[17/11/2019 15:05:53]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:53]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:53] [Error - CreatureScript Interface] 
[17/11/2019 15:05:53] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:53] Description: 
[17/11/2019 15:05:53] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:53] stack traceback:
[17/11/2019 15:05:53]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:53]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:54] [Error - CreatureScript Interface] 
[17/11/2019 15:05:54] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:54] Description: 
[17/11/2019 15:05:54] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:54] stack traceback:
[17/11/2019 15:05:54]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:54]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:54] [Error - CreatureScript Interface] 
[17/11/2019 15:05:54] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:54] Description: 
[17/11/2019 15:05:54] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:54] stack traceback:
[17/11/2019 15:05:54]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:54]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:54] [Error - CreatureScript Interface] 
[17/11/2019 15:05:54] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:54] Description: 
[17/11/2019 15:05:54] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:54] stack traceback:
[17/11/2019 15:05:54]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:54]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:54] [Error - CreatureScript Interface] 
[17/11/2019 15:05:54] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:54] Description: 
[17/11/2019 15:05:54] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:54] stack traceback:
[17/11/2019 15:05:54]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:54]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:55] [Error - CreatureScript Interface] 
[17/11/2019 15:05:55] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:55] Description: 
[17/11/2019 15:05:55] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:55] stack traceback:
[17/11/2019 15:05:55]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:55]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:55] [Error - CreatureScript Interface] 
[17/11/2019 15:05:55] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:55] Description: 
[17/11/2019 15:05:55] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:55] stack traceback:
[17/11/2019 15:05:55]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:55]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:57] [Error - CreatureScript Interface] 
[17/11/2019 15:05:57] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:57] Description: 
[17/11/2019 15:05:57] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:57] stack traceback:
[17/11/2019 15:05:57]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:57]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:57] [Error - CreatureScript Interface] 
[17/11/2019 15:05:57] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:57] Description: 
[17/11/2019 15:05:57] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:57] stack traceback:
[17/11/2019 15:05:57]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:57]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:57] [Error - CreatureScript Interface] 
[17/11/2019 15:05:57] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:57] Description: 
[17/11/2019 15:05:57] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:57] stack traceback:
[17/11/2019 15:05:57]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:57]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:58] [Error - CreatureScript Interface] 
[17/11/2019 15:05:58] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:58] Description: 
[17/11/2019 15:05:58] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:58] stack traceback:
[17/11/2019 15:05:58]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:58]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:05:59] [Error - CreatureScript Interface] 
[17/11/2019 15:05:59] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:05:59] Description: 
[17/11/2019 15:05:59] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:05:59] stack traceback:
[17/11/2019 15:05:59]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:05:59]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:06:01] [Error - CreatureScript Interface] 
[17/11/2019 15:06:01] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:01] Description: 
[17/11/2019 15:06:01] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:01] stack traceback:
[17/11/2019 15:06:01]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:01]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:06:01] [Error - CreatureScript Interface] 
[17/11/2019 15:06:01] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:01] Description: 
[17/11/2019 15:06:01] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:01] stack traceback:
[17/11/2019 15:06:01]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:01]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:06:03] [Error - CreatureScript Interface] 
[17/11/2019 15:06:03] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:03] Description: 
[17/11/2019 15:06:03] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:03] stack traceback:
[17/11/2019 15:06:03]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:03]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:06:03] [Error - CreatureScript Interface] 
[17/11/2019 15:06:03] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:03] Description: 
[17/11/2019 15:06:03] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:03] stack traceback:
[17/11/2019 15:06:03]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:03]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:06:03] [Error - CreatureScript Interface] 
[17/11/2019 15:06:03] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:03] Description: 
[17/11/2019 15:06:03] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:03] stack traceback:
[17/11/2019 15:06:03]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:03]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:06:03] [Error - CreatureScript Interface] 
[17/11/2019 15:06:03] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:03] Description: 
[17/11/2019 15:06:03] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:03] stack traceback:
[17/11/2019 15:06:03]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:03]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:06:04] [Error - CreatureScript Interface] 
[17/11/2019 15:06:04] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:04] Description: 
[17/11/2019 15:06:04] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:04] stack traceback:
[17/11/2019 15:06:04]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:04]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:06:26] [Error - CreatureScript Interface] 
[17/11/2019 15:06:26] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:26] Description: 
[17/11/2019 15:06:26] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:26] stack traceback:
[17/11/2019 15:06:26]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:26]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:06:26] [Error - CreatureScript Interface] 
[17/11/2019 15:06:26] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:26] Description: 
[17/11/2019 15:06:26] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:26] stack traceback:
[17/11/2019 15:06:26]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:26]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>
[17/11/2019 15:06:26]     [C]: in function 'doAreaCombatHealth'
[17/11/2019 15:06:26]     datapack/lib/pokemon moves.lua:4301: in function <datapack/lib/pokemon moves.lua:4299>

[17/11/2019 15:06:26] [Error - CreatureScript Interface] 
[17/11/2019 15:06:26] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:26] Description: 
[17/11/2019 15:06:26] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:26] stack traceback:
[17/11/2019 15:06:26]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:26]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>
[17/11/2019 15:06:26]     [C]: in function 'doAreaCombatHealth'
[17/11/2019 15:06:26]     datapack/lib/pokemon moves.lua:4301: in function <datapack/lib/pokemon moves.lua:4299>

[17/11/2019 15:06:26] [Error - CreatureScript Interface] 
[17/11/2019 15:06:26] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:26] Description: 
[17/11/2019 15:06:26] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:26] stack traceback:
[17/11/2019 15:06:26]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:26]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>
[17/11/2019 15:06:26]     [C]: in function 'doAreaCombatHealth'
[17/11/2019 15:06:26]     datapack/lib/pokemon moves.lua:4301: in function <datapack/lib/pokemon moves.lua:4299>

[17/11/2019 15:06:28] [Error - CreatureScript Interface] 
[17/11/2019 15:06:28] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:28] Description: 
[17/11/2019 15:06:28] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:28] stack traceback:
[17/11/2019 15:06:28]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:28]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:06:29] [Error - CreatureScript Interface] 
[17/11/2019 15:06:29] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:29] Description: 
[17/11/2019 15:06:29] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:29] stack traceback:
[17/11/2019 15:06:29]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:29]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>
[17/11/2019 15:06:29]     [C]: in function 'doAreaCombatHealth'
[17/11/2019 15:06:30]     datapack/lib/pokemon moves.lua:4301: in function <datapack/lib/pokemon moves.lua:4299>

[17/11/2019 15:06:30] [Error - CreatureScript Interface] 
[17/11/2019 15:06:30] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:30] Description: 
[17/11/2019 15:06:30] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:30] stack traceback:
[17/11/2019 15:06:30]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:30]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>
[17/11/2019 15:06:30]     [C]: in function 'doAreaCombatHealth'
[17/11/2019 15:06:30]     datapack/lib/pokemon moves.lua:4301: in function <datapack/lib/pokemon moves.lua:4299>

[17/11/2019 15:06:30] [Error - CreatureScript Interface] 
[17/11/2019 15:06:30] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:30] Description: 
[17/11/2019 15:06:30] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:30] stack traceback:
[17/11/2019 15:06:30]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:30]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>
[17/11/2019 15:06:30]     [C]: in function 'doAreaCombatHealth'
[17/11/2019 15:06:30]     datapack/lib/pokemon moves.lua:4301: in function <datapack/lib/pokemon moves.lua:4299>

[17/11/2019 15:06:30] [Error - CreatureScript Interface] 
[17/11/2019 15:06:30] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:30] Description: 
[17/11/2019 15:06:30] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:30] stack traceback:
[17/11/2019 15:06:30]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:30]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>
[17/11/2019 15:06:30]     [C]: in function 'doAreaCombatHealth'
[17/11/2019 15:06:30]     datapack/lib/pokemon moves.lua:4301: in function <datapack/lib/pokemon moves.lua:4299>

[17/11/2019 15:06:31] [Error - CreatureScript Interface] 
[17/11/2019 15:06:31] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:31] Description: 
[17/11/2019 15:06:31] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:31] stack traceback:
[17/11/2019 15:06:31]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:31]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:06:31] [Error - CreatureScript Interface] 
[17/11/2019 15:06:31] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:31] Description: 
[17/11/2019 15:06:31] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:31] stack traceback:
[17/11/2019 15:06:31]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:31]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>
[17/11/2019 15:06:31]     [C]: in function 'doAreaCombatHealth'
[17/11/2019 15:06:31]     datapack/lib/pokemon moves.lua:4301: in function <datapack/lib/pokemon moves.lua:4299>

[17/11/2019 15:06:31] [Error - CreatureScript Interface] 
[17/11/2019 15:06:31] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:31] Description: 
[17/11/2019 15:06:31] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:31] stack traceback:
[17/11/2019 15:06:31]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:31]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>
[17/11/2019 15:06:31]     [C]: in function 'doAreaCombatHealth'
[17/11/2019 15:06:31]     datapack/lib/pokemon moves.lua:4301: in function <datapack/lib/pokemon moves.lua:4299>

[17/11/2019 15:06:31] [Error - CreatureScript Interface] 
[17/11/2019 15:06:31] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:31] Description: 
[17/11/2019 15:06:31] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:32] stack traceback:
[17/11/2019 15:06:32]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:32]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>
[17/11/2019 15:06:32]     [C]: in function 'doAreaCombatHealth'
[17/11/2019 15:06:32]     datapack/lib/pokemon moves.lua:4301: in function <datapack/lib/pokemon moves.lua:4299>

[17/11/2019 15:06:32] [Error - CreatureScript Interface] 
[17/11/2019 15:06:32] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:32] Description: 
[17/11/2019 15:06:32] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:32] stack traceback:
[17/11/2019 15:06:32]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:32]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>
[17/11/2019 15:06:32]     [C]: in function 'doAreaCombatHealth'
[17/11/2019 15:06:32]     datapack/lib/pokemon moves.lua:4301: in function <datapack/lib/pokemon moves.lua:4299>

[17/11/2019 15:06:33] [Error - CreatureScript Interface] 
[17/11/2019 15:06:33] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:33] Description: 
[17/11/2019 15:06:33] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:33] stack traceback:
[17/11/2019 15:06:33]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:33]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:06:36] [Error - CreatureScript Interface] 
[17/11/2019 15:06:36] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:36] Description: 
[17/11/2019 15:06:36] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:36] stack traceback:
[17/11/2019 15:06:36]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:36]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:06:38] [Error - CreatureScript Interface] 
[17/11/2019 15:06:38] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:38] Description: 
[17/11/2019 15:06:38] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:38] stack traceback:
[17/11/2019 15:06:38]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:38]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:06:40] [Error - CreatureScript Interface] 
[17/11/2019 15:06:40] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:40] Description: 
[17/11/2019 15:06:40] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:40] stack traceback:
[17/11/2019 15:06:40]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:40]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:06:42] [Error - CreatureScript Interface] 
[17/11/2019 15:06:42] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:06:42] Description: 
[17/11/2019 15:06:42] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:06:42] stack traceback:
[17/11/2019 15:06:42]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:06:42]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>
[17/11/2019 15:11:47] > Broadcasted message: "Full server save within 120 seconds, please mind it may freeze!".

[17/11/2019 15:12:27] [Error - CreatureScript Interface] 
[17/11/2019 15:12:27] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:12:27] Description: 
[17/11/2019 15:12:27] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:12:27] stack traceback:
[17/11/2019 15:12:27]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:12:27]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:12:29] [Error - CreatureScript Interface] 
[17/11/2019 15:12:30] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:12:30] Description: 
[17/11/2019 15:12:30] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:12:30] stack traceback:
[17/11/2019 15:12:30]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:12:30]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:12:33] [Error - CreatureScript Interface] 
[17/11/2019 15:12:33] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:12:33] Description: 
[17/11/2019 15:12:33] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:12:33] stack traceback:
[17/11/2019 15:12:33]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:12:33]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:12:35] [Error - CreatureScript Interface] 
[17/11/2019 15:12:35] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:12:35] Description: 
[17/11/2019 15:12:35] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:12:35] stack traceback:
[17/11/2019 15:12:35]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:12:35]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:12:38] [Error - CreatureScript Interface] 
[17/11/2019 15:12:38] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:12:38] Description: 
[17/11/2019 15:12:38] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:12:38] stack traceback:
[17/11/2019 15:12:38]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:12:38]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:12:40] [Error - CreatureScript Interface] 
[17/11/2019 15:12:40] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:12:40] Description: 
[17/11/2019 15:12:40] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:12:40] stack traceback:
[17/11/2019 15:12:40]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:12:40]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:12:43] [Error - CreatureScript Interface] 
[17/11/2019 15:12:43] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:12:43] Description: 
[17/11/2019 15:12:43] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:12:43] stack traceback:
[17/11/2019 15:12:43]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:12:43]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>

[17/11/2019 15:12:45] [Error - CreatureScript Interface] 
[17/11/2019 15:12:45] datapack/creaturescripts/scripts/exp2.0.lua:onStatsChange
[17/11/2019 15:12:45] Description: 
[17/11/2019 15:12:45] datapack/lib/some functions.lua:764: attempt to index global 'happinessRate' (a nil value)
[17/11/2019 15:12:46] stack traceback:
[17/11/2019 15:12:46]     datapack/lib/some functions.lua:764: in function 'getHappinessRate'
[17/11/2019 15:12:46]     datapack/creaturescripts/scripts/exp2.0.lua:344: in function <datapack/creaturescripts/scripts/exp2.0.lua:63>
 

Esse log final é realmente na batalha mas n vejo como o happinessRate iria interferir no dano... Perdoe minha falta de conhecimento. Você consegue ver algo q n vejo?

Editado por sirvitor4
Link para o comentário
Compartilhar em outros sites

  • 0

também não tenho muito conhecimento porem vou tenta te ajuda, em happinessRate no some function

ta passando um valor nulo, pelo que intendi esses valores são aplicados nos summons

 

posta seu some function e exp2.0

 

 

Editado por NiCaDo
Link para o comentário
Compartilhar em outros sites

  • 0
2 minutos atrás, NiCaDo disse:

também não tenho muito conhecimento porem vou tenta te ajuda, em happinessRate no some function

ta passando um valor nulo, pelo que intendi esses valores são aplicados nos summons

 

posta seu some function e exp2.0

 

 

 

Aparentemente é algo relacionado a LIB mesmo.

Copiei de um outro server e joguei na minha e funcionou, porém bugou outras coisas (obviamente). Então acho q estamos no caminho certo.

 

some functions.lua exp2.0.lua

Link para o comentário
Compartilhar em outros sites

  • 1

em some function

 

coloca isso no começo 

 

happinessRate = {
[5] = {rate = 1.5, effect = 183, n = getConfigValue(PokemonStageVeryHappy)},
[4] = {rate = 1.2, effect = 170, n = getConfigValue(PokemonStageHappy)},
[3] = {rate = 1.0, effect = 182, n = getConfigValue(PokemonStageOK)},
[2] = {rate = 0.7, effect = 169, n = getConfigValue(PokemonStageSad)},
[1] = {rate = 0.4, effect = 168, n = getConfigValue(PokemonStageMad)}
}

 

 

Link para o comentário
Compartilhar em outros sites

  • 0
5 minutos atrás, NiCaDo disse:

em some function

 

coloca isso no começo 

 

happinessRate = {
[5] = {rate = 1.5, effect = 183, n = getConfigValue(PokemonStageVeryHappy)},
[4] = {rate = 1.2, effect = 170, n = getConfigValue(PokemonStageHappy)},
[3] = {rate = 1.0, effect = 182, n = getConfigValue(PokemonStageOK)},
[2] = {rate = 0.7, effect = 169, n = getConfigValue(PokemonStageSad)},
[1] = {rate = 0.4, effect = 168, n = getConfigValue(PokemonStageMad)}
}

 

 

MANO FUNCIONOU! Estava desde ontem(hoje 5 da manha) procurando por isso... MEU DEUS! muito obrigado!

Espero que outras pessoas que estejam passando por esse problema COM DANO NO OTP possam encontrar tua resposta.

Link para o comentário
Compartilhar em outros sites

  • 0
5 minutos atrás, sirvitor4 disse:

MANO FUNCIONOU! Estava desde ontem(hoje 5 da manha) procurando por isso... MEU DEUS! muito obrigado!

Espero que outras pessoas que estejam passando por esse problema COM DANO NO OTP possam encontrar tua resposta.

vlw boa sorte com seus projeto.

Link para o comentário
Compartilhar em outros sites

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