alexandre freda
New Member
- Joined
- Jan 3, 2017
- Messages
- 6
- Reaction score
- 1
When a player kills a monster, the console shows the following errror:
And the player gets the experience as normal rate, even if the rate is 100x on config.lua or stages.xml
Lua Script Error: [Event Interface]
data/events/scripts/player.lualayer@onGainExperience
data/events/scripts/player.lua:168: attempt to perform arithmetic on a nil value
stack traceback:
[C]: in function '__sub'
data/events/scripts/player.lua:168: in function 'useStamina'
data/events/scripts/player.lua:204: in function <data/events/scripts/pla
yer.lua:187>
data/events/scripts/player.lualayer@onGainExperience
data/events/scripts/player.lua:168: attempt to perform arithmetic on a nil value
stack traceback:
[C]: in function '__sub'
data/events/scripts/player.lua:168: in function 'useStamina'
data/events/scripts/player.lua:204: in function <data/events/scripts/pla
yer.lua:187>
And the player gets the experience as normal rate, even if the rate is 100x on config.lua or stages.xml