New LUA FUnctions: IsGroundSpawn and CanHarvest

Discussions on development of both the EQ2Emulator LUA Script Engine and Script specifications

Moderator: Team Members

Post Reply
Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

New LUA FUnctions: IsGroundSpawn and CanHarvest

Post by Jabantiz » Mon Sep 09, 2013 6:42 pm

IsGroundSpawn(Spawn)
CanHarvest(Spawn, Spawn)

Code: Select all

function precast(Caster, Target)
	if IsGroundSpawn(Target) then
		return CanHarvest(Caster, Target)
	end
	
	return false
end
Pic of the message sent
EQ2EmuHarvestFail.jpg
You do not have the required permissions to view the files attached to this post.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests