Jump to content
Sign in to follow this  
WVWMK

[Скрипт]Телепорт без фул хп

Recommended Posts

ItemEffect.txt 

function Jz_Script_arg(role, Item )
	local i = CheckBagItem(role,ID_ITEM) -- ВАШ ID
	local k = ChaIsBoat(role)
	local hp = Hp(role)
	local mxhp = Mxhp(role)
	local sp = Sp(role)
	local mxsp = Mxsp(role)

	if k == 0 then
		if i > 0 then
			local j = DelBagItem(role,ID_ITEM,1)-- ВАШ ID
			if j == 1 then
				MoveCity(role,"Argent City") -- Куда телепортироваться
				return
			end
		end
	else
		UseItemFailed ( role )
	end
		
end

Аналогичен обычному телепорту, просто вырезали проверку на здоровье и ману.
Создавался для VIP игроков, которые не любят умирать в данжах.


Делай добро и бросай его в воду

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...