Hello i found only that in all forum:
http://otland.net/f132/c-creaturesc...ge-id-monster-dont-attack-129314/#post1251693
And it don't work.
I Use TFS 0.3.6pl1 8.54
What i want?
For monster with storage
- If get other storage than 5420 == 2 You can't attack monster, and monster ignore you.
- If get storage 5420 == 2 player can attack and kill monster. After kill monster player get new storage:
- For get storage 5420 == 3 You need to take 10% of life from monster (To Pass to next storage)
- Every player who get next storage should get reward for that, something like 1000 exp.
Can anyone help me? I would be very grateful for help.
Thank you in advance for every help.
Ofcorse if i can i give you REP++
http://otland.net/f132/c-creaturesc...ge-id-monster-dont-attack-129314/#post1251693
And it don't work.
I Use TFS 0.3.6pl1 8.54
What i want?
For monster with storage
Lua:
if getPlayerStorageValue(cid, 5420) == 2 then
- If get storage 5420 == 2 player can attack and kill monster. After kill monster player get new storage:
Lua:
setPlayerStorageValue(cid, 5420, 3)
- Every player who get next storage should get reward for that, something like 1000 exp.
Can anyone help me? I would be very grateful for help.
Thank you in advance for every help.
Ofcorse if i can i give you REP++
Last edited: