• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Tibia 8.54 <<WAR>> firebomb rune bug help!

Kubakos

Well-Known Member
Joined
Mar 3, 2010
Messages
987
Solutions
2
Reaction score
59
Hi , i have a war , on this war i have got fragreward script . The bug is working like that : You kill yourself with firebomb rune and then you get a reward item !!! How to repair it ?
 
You die and you loose nf , you kill you with firebomb rune and you get a reward , for example : 2 crystal coins , from frag reward .... I mean , a man log in , make 4 mlvl , go to no pz place , then he kill him with firebomb rune , and get frag reward :/
 
Can't be fixed using onKill event, you have to use onDeath
Code:
function onDeath(cid, corpse, deathList)
	for i = 1, #deathList do
		if isPlayer(deathList[i]) and deathList[i] ~= cid then
			doPlayerAddItem(deathList[i], 2152, 2)
		end
	end
	return true
end
and change type="kill" to type="death" in creaturescripts.xml
 
Last edited:
Back
Top