• 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!

[Request] Bless Script 8.5 onUse

exiT

Member
Joined
May 28, 2009
Messages
248
Reaction score
19
Hello, I need Blessings script for my server im making.

When somebody click on the items you will get blessed and when you die you dont lose the anyting like Amulet of loss and same loss exp as real tibia. Can anyone help me with that.


Thanks anyway
Yours,
exiT
 
PHP:
function onPrepareDeath(cid, lastHitKiller, mostDamageKiller)
	if getPlayerSkullType(cid) <= 4 then
		if getPlayerBlessing(cid, 1) and getPlayerBlessing(cid, 2) and getPlayerBlessing(cid, 3) and getPlayerBlessing(cid, 4) and getPlayerBlessing(cid, 5) then
			doSetCreatureDropLoot(cid, 0)
		end
	end
end

OnPrepareDeath in CreatureScripts.

=p
 
Can you make like When they buy its come up You have been Blessed and that magic effect number 14 with TEXTCOLOR_RED and if they have buy it come You are Blessed. You TEXTTPYE_ORANGE_1 and Puff
 
Back
Top