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

Lua help with this script

kfalls

New Member
Joined
Jan 11, 2018
Messages
16
Reaction score
1
Can someone modify this script to work on tfs 0.3.6?




function onStatsChange(cid, attacker, type, combat, value)
-- This should block all damage monster cause on eachother expect player summons
if isMonster(cid) and isMonster(attacker) then
local master = getCreatureMaster(cid)
if not master or not isPlayer(master) then
return false
end
end

return true
end
 

Similar threads

  • Question Question
Replies
5
Views
207
Replies
1
Views
210
Xikini
X
Back
Top