Exceed
New Member
- Joined
- Feb 23, 2016
- Messages
- 28
- Reaction score
- 1
Hi, so I'm creating system with a lot of types of pets and I want one of them to be like "lucky pet". That means that player which chose this pet will have increased Loot Rate. My problem is that I can't find function like "setPlayerExtraLootRate(cid)" or something like that.
Here is an evidence:
So I'm asking you for help, how I can do that other way?
Im using TFS v0.3.6pl.
Thanks in advance!
Here is an evidence:
Code:
15/03/2016 17:08:09] [Error - CreatureScript Interface]
[15/03/2016 17:08:09] data/creaturescripts/scripts/pet system/luckypet.lua:onThink
[15/03/2016 17:08:09] Description:
[15/03/2016 17:08:09] .../creaturescripts/scripts/pet system/luckypet.lua:2: attempt to call global 'setPlayerExtraLootRate' (a nil value)
[15/03/2016 17:08:09] stack traceback:
[15/03/2016 17:08:09] .../creaturescripts/scripts/pet system/luckypet.lua:2: in function <.../creaturescripts/scripts/pet system/luckypet.lua:1>
Im using TFS v0.3.6pl.
Thanks in advance!