12345678910111213141516171819202122 |
- --[[
- Script Name : Summon Food and Water
- Script Purpose : Summons 5 Sacred Food and 5 Sacred Water to the target
- Script Author : Zcoretri
- Script Date : 2009.01.10
- Script Notes : JA: Going to ask LE for an "Array" spell_data type for passing multiple item IDs
- --]]
- function cast(Caster, Target, SummonType, MinQty, MaxQty, Item1, Item2)
- if SummonType == "FoodWater" then
- if FoodID ~= nil and WaterID ~= nil then
- SummonItem(Target, FoodID)
- SummonItem(Target, WaterID)
- -- SummonItem(Target, FoodID, MinQty) <Dev Note:need to add a qty param>
- end
- else
- end
- end
|