script.runScript("geom2d.js");

//----Fire, Ice, Light Arrows v1.1 - Renounce4----//

//Fire Arrows configuration variables
var FireArrow_Damage = 6 //how much extra damage the fire arrow causes (4 damage = 1 heart)
var FireArrow_Cost = 0 //how much magic it costs to apply the fire aspect to an arrow (if greater than 0, you must install my Magic Meter script)
var FireArrow_Range = 3 //how far the effects of the fire arrow reach on impact
var FireArrow_BurnTime = 100 //how long, in ticks, the hit entities will burn for
var FireArrow_LightTorches = true //whether or not the fire arrows can light torches (true/flase)
var FireArrow_MeltIce = true //whether or not the fire arrows can melt ice (true/false)

//Ice Arrows configuration variables
var IceArrow_Damage = 6 //how much extra damage the ice arrow causes (4 damage = 1 heart)
var IceArrow_Cost = 0 //how much magic it costs to apply the ice aspect to an arrow (if greater than 0, you must install my Magic Meter script)
var IceArrow_Range = 3 //how far the effects of the ice arrow reach on impact
var IceArrow_FreezeTime = 100 //how long, in ticks, the hit entities will be frozen for
var IceArrow_BlowoutTorches = true //whether or not the ice arrows can blow out torches (true/false)
var IceArrow_MakeIce = true //whether or not the ice arrows can freeze water (true/false)

//Light Arrows configuration variables
var LightArrow_Damage = 12 //how much extra damage the light arrow causes (4 damage = 1 heart)
var LightArrow_Cost = 0 //how much magic it costs to apply the light aspect to an arrow (if greater than 0, you must install my Magic Meter script)
var LightArrow_Range = 4 //how far the effects of the light arrow reach on impact

script.runScript("FILArrows_Functions.js")

//Magic Meter v1.1 - Renounce4
MAGIC_UPGRADE = function() {
	magupg = true
	magdly = MAGIC_CAP2
}
MAGIC_DOWNGRADE = function() {
	magupg = false
	magdly = MAGIC_CAP1
}
MAGIC_UNLOCK = function() {
	maglock = false
	magdly = MAGIC_UNLOCK_AMOUNT
}
MAGIC_LOCK = function() {
	maglock = true
}
MAGIC_INFINITE = function() {
	maginf = true
}
MAGIC_FINITE = function() {
	maginf = false
}