antiblock
https://arwen2.global/
  • Chatbox

    You don't have permission to chat.
    Load More
Sign in to follow this  
【★】ʀℯɱℯɳɞℯʀGåɱℯʂ【★】

[Pedido] Quest De Algumas Montadas

4 posts in this topic

antiblock
Rodnia | Alpha & Omega
quest ride begin
state start begin
	function Ride( vnum )
		ride_info = {
		[71114] = { 20110,	5*60,apply.DEF_GRADE_BONUS,	70,75,	true	}, --gelb
		[71115] = { 20110,	5*60,apply.DEF_GRADE_BONUS,	100,100,	true	}, --blau
		[71116] = { 20111,	5*60,apply.DEF_GRADE_BONUS,	100,80,	true	}, --gelb
		[71117] = { 20111,	5*60,apply.DEF_GRADE_BONUS,	150,100,	true	}, --blau 
		[71118] = { 20112,	5*60,apply.DEF_GRADE_BONUS,	125,80,	true	}, --gelb
		[71119] = { 20112,	5*60,apply.DEF_GRADE_BONUS,	200,100,	true	}, --blau
		[71120] = { 20113,	5*60,apply.ATT_GRADE_BONUS,	200,85,	true	}, --gelb
		[71121] = { 20113,	5*60,apply.ATT_GRADE_BONUS,	400,110,	true	}, --blau
		[71171] = { 20113,	5*60,apply.ATT_GRADE_BONUS,	400,110,	true	}, --blau
		
		[71124] = { 20114,	item.get_socket(2)*60,POINT_EXP_DOUBLE_BONUS,1,1,	false	}, ----Weißer Löwe
		[71125] = { 20115,	item.get_socket(2)*60,apply.ATTBONUS_MONSTER,20,1,	false	}, --Kriegskeiler
		[71126] = { 20116,	item.get_socket(2)*60,apply.STEAL_HP,15,1,	false	}, --Streitwolf-Siegel
		[71127] = { 20117,	item.get_socket(2)*60,apply.HP_REGEN,50,1,	false	}, --Sturmtiger-Siegel
		[71128] = { 20118,	item.get_socket(2)*60,POINT_DEF_BONUS,15,1,	false	}, --Schlachtenlöwen-Siegel
		
		
		[80110] = { 20114,	item.get_socket(2)*60,POINT_EXP_DOUBLE_BONUS,1,1,	false	}, ----Weißer Löwe
		[80111] = { 20115,	item.get_socket(2)*60,apply.ATTBONUS_MONSTER,20,1,	false	}, --Kriegskeiler
		[80112] = { 20116,	item.get_socket(2)*60,apply.STEAL_HP,15,1,	false	}, --Streitwolf-Siegel
		[80113] = { 20117,	item.get_socket(2)*60,apply.HP_REGEN,50,1,	false	}, --Sturmtiger-Siegel
		[80114] = { 20118,	item.get_socket(2)*60,POINT_DEF_BONUS,15,1,	false	}, --Schlachtenlöwen-Siegel
		
		[71131] = { 20119,	30*60,apply.SKILL,1,1,	false	}, --Horse_event
		[71132] = { 20119,	60*60,apply.SKILL,1,1,	false	}, --Horse_event
		[71133] = { 20119,	120*60,apply.SKILL,1,1,	false	}, --Horse_event
		[71134] = { 20119,	180*60,apply.SKILL,1,1,	false	}, --Horse_event
		
		[71137] = { 20120,	item.get_socket(2)*60,PREMIUM_EXP,30,100,	false	}, --Horse_event
		}
		if pc.level < ride_info[vnum][5] then
			say("Dein Level ist zu niedrig für dieses Reittier!")
			say("Du würdest es nicht zähmen können...")
			return
		elseif pc.is_polymorphed() then
			say("Du kannst nicht reiten während du Verwandelt bist!")
			return
		elseif pc.is_riding() then
			say("Du kannst kein Reittier beschwören, du reitest noch")
			return
		else
	pc.mount( ride_info[vnum][1], ride_info[vnum][2] )
	pc.mount_bonus( ride_info[vnum][3], ride_info[vnum][4], ride_info[vnum][2] )
	if true == ride_info[vnum][6] then
	pc.remove_item(vnum, 1)
	end
	end
	end
	when 71114.use or 71115.use or 71116.use or 71117.use or 71118.use or 71119.use or 71120.use or 71121.use.use or 71171.use --normale siegel 
	or 71124.use or 71125.use or 71126.use or 71127.use or 71128.use --48H reittier siegel
	or 80110.use or 80111.use or 80112.use or 80113.use or 80114.use --Anfangs Siegel Starterse
	or 71131.use or 71132.use or 71133.use or 71134.use --Rappensiegel
	or 71137.use begin --Königstiger
		if pc.get_map_index() == 113 or
		pc.get_map_index() == 118 or
		pc.get_map_index() == 119 or
		pc.get_map_index() == 120 or
		pc.get_map_index() == 122 or
		pc.get_map_index() == 123 or
		pc.get_map_index() == 124 or
		pc.get_map_index() == 126 or
		pc.get_map_index() == 127 or
		pc.get_map_index() == 128 and not pc.is_gm() then
		say("Du darfst das Pferd nicht rufen hier.")
		return
		end
	ride.Ride(item.get_vnum())
	end
	when login begin
		if pc.get_map_index() == 113 or
		pc.get_map_index() == 118 or
		pc.get_map_index() == 119 or
		pc.get_map_index() == 120 or
		pc.get_map_index() == 122 or
		pc.get_map_index() == 123 or
		pc.get_map_index() == 124 or
		pc.get_map_index() == 126 or
		pc.get_map_index() == 127 or
		pc.get_map_index() == 128 and not pc.is_gm() then
		syschat("Du darfst das Rettier nicht benutzen hier.")
		return
		end
		local vnum, remain_time = pc.get_special_ride_vnum()
		if 0 != vnum then
			if pc.is_polymorphed() then
				return
			elseif pc.is_riding() then
				return
			else
				ride.Ride(vnum, remain_time)
			end
		end
	end

end
end

espero que ajude

Share this post


Link to post
Share on other sites
Sign in to follow this