local vocations = {11}
function onStatsChange(cid, attacker, type, combat, value)
if type == STATSCHANGE_HEALTHLOSS and isInArray(vocations, getPlayerVocation(cid)) and getPlayerGroupId(cid) == 2 then
doPlayerSetGroupId(cid, 1)
doCreatureChangeOutfit(cid, Out)
doChangeSpeed(cid, 60)
doSendMagicEffect(getCreaturePosition(cid), 2)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You are visible now.")
end
return true
end