SummonFoodandWater.lua 604 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Summon Food and Water
  3. Script Purpose : Summons 5 Sacred Food and 5 Sacred Water to the target
  4. Script Author : Zcoretri
  5. Script Date : 2009.01.10
  6. Script Notes : JA: Going to ask LE for an "Array" spell_data type for passing multiple item IDs
  7. --]]
  8. function cast(Caster, Target, SummonType, MinQty, MaxQty, Item1, Item2)
  9. if SummonType == "FoodWater" then
  10. if FoodID ~= nil and WaterID ~= nil then
  11. SummonItem(Target, FoodID)
  12. SummonItem(Target, WaterID)
  13. -- SummonItem(Target, FoodID, MinQty) <Dev Note:need to add a qty param>
  14. end
  15. else
  16. end
  17. end