bpm91
Intermediate OT User
- Joined
- May 23, 2019
- Messages
- 931
- Solutions
- 7
- Reaction score
- 128
- Location
- Brazil
- YouTube
- caruniawikibr
I have a question when using the script in creature events, and
and mark the monster with the script, My monsters do not heal. Example hydra.
Could someone tell me how I can get my monsters to heal again, and summoned monsters to damage the scripted monsters again?
</immunities>
<script>
<event name="noattack"/> <<<<<< the script
</script>
<voices interval="5000" chance="10">
<voice sentence="FCHHHHH"/>
<voice sentence="HISSSS"/>
</voices>
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
and mark the monster with the script, My monsters do not heal. Example hydra.
Could someone tell me how I can get my monsters to heal again, and summoned monsters to damage the scripted monsters again?
</immunities>
<script>
<event name="noattack"/> <<<<<< the script
</script>
<voices interval="5000" chance="10">
<voice sentence="FCHHHHH"/>
<voice sentence="HISSSS"/>
</voices>
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