9
3

harvest.lua 412 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : harvest.lua
  3. Script Purpose : Fishing, Foresting, Gathering/Collecting, Mining, Trapping
  4. Script Author : John Adams
  5. Script Date : 2008.12.05
  6. Script Notes :
  7. --]]
  8. function precast(Caster, Target)
  9. if IsGroundSpawn(Target) then
  10. return CanHarvest(Caster, Target)
  11. end
  12. return false
  13. end
  14. function cast(Caster, Target)
  15. Harvest(Caster, Target)
  16. end