--Ichigo Bankai--
if getPlayerVocation(cid) == 0 then --- W miejsce '?' wpisz voca dla jakiej profesji ma by? transform.
if getPlayerLevel(cid) >= 30 then
doPlayerSetVocation(cid, 1) -- Jakiego voca ma dawac
doSetCreatureOutfit(cid, 4, -1) -- Jaki outfit
doSendMagicEffect(getCreaturePosition(cid), 22)
else
doSendMagicEffect(getCreaturePosition(cid), 2)
doPlayerSendCancel(cid,"You must 30 lvl to use bankai")
end
--Ichigo Half Hollow--
elseif getPlayerVocation(cid) == 1 then -- Tu znowu to samo
if getPlayerLevel(cid) >= 60 then
doPlayerSetVocation(cid, 2)
doSetCreatureOutfit(cid, 39, -1)
doSendMagicEffect(getCreaturePosition(cid), 22)
else
doSendMagicEffect(getCreaturePosition(cid), 2)
doPlayerSendCancel(cid,"You must 70 lvl to transform")
end
--Ichigo Hollow--
elseif getPlayerVocation(cid) == 2 then -- Tu znowu to samo
if getPlayerLevel(cid) >= 60 then
doPlayerSetVocation(cid, 3)
doSetCreatureOutfit(cid, 41, -1)
doSendMagicEffect(getCreaturePosition(cid), 22)
else
doSendMagicEffect(getCreaturePosition(cid), 2)
doPlayerSendCancel(cid,"You must 100 lvl to transform")
end
else
doPlayerSendCancel(cid,"You cannot transform")
doSendMagicEffect(getCreaturePosition(cid), 2)
end
end