Code: Select all
defineObject{
name = "fireburst",
class = "BurstSpell",
screenEffect = "fireball_screen",
particleSystem = "fireburst",
lightColor = vec(0.75, 0.4, 0.25),
lightBrightness = 40,
lightRange = 4,
sound = "fireburst",
attackPower = 20,
damageType = "fire",
--cameraShake = true,
tags = { "spell" },
}
defineObject{
name = "shockburst",
class = "BurstSpell",
particleSystem = "shockburst",
lightColor = vec(0.25, 0.5, 1),
lightBrightness = 40,
lightRange = 4,
sound = "shockburst",
attackPower = 27,
damageType = "shock",
--cameraShake = true,
tags = { "spell" },
}
defineObject{
name = "frostburst",
class = "BurstSpell",
particleSystem = "frostburst",
lightColor = vec(0.25, 0.5, 1),
lightBrightness = 40,
lightRange = 4,
sound = "frostburst",
attackPower = 20,
damageType = "cold",
--cameraShake = true,
tags = { "spell" },
}
defineObject{
name = "fireball",
class = "ProjectileSpell",
particleSystem = "fireball",
hitParticleEffect = "fireball_hit",
lightColor = vec(1, 0.5, 0.25),
lightBrightness = 15,
lightRange = 7,
lightHitBrightness = 40,
lightHitRange = 10,
castShadow = true,
launchSound = "fireball_launch",
projectileSound = "fireball",
hitSound = "fireball_hit",
screenEffect = "fireball_screen",
projectileSpeed = 7.5,
attackPower = 30,
damageType = "fire",
--cameraShake = true,
tags = { "spell" },
}
defineObject{
name = "fireball_greater",
class = "ProjectileSpell",
particleSystem = "fireball_greater",
hitParticleEffect = "fireball_hit_greater",
lightColor = vec(1, 0.5, 0.25),
lightBrightness = 15,
lightRange = 7,
lightHitBrightness = 40,
lightHitRange = 10,
castShadow = true,
launchSound = "fireball_launch",
projectileSound = "fireball",
hitSound = "fireball_hit",
screenEffect = "fireball_screen",
projectileSpeed = 7.5,
attackPower = 60,
damageType = "fire",
--cameraShake = true,
tags = { "spell" },
}
defineObject{
name = "poison_bolt",
class = "ProjectileSpell",
particleSystem = "poison_bolt",
hitParticleEffect = "poison_bolt_hit",
lightColor = vec(0.25, 0.6, 0.2),
lightBrightness = 4,
lightRange = 4,
lightHitBrightness = 4,
lightHitRange = 5,
launchSound = "poison_bolt_launch",
projectileSound = "poison_bolt",
hitSound = "poison_bolt_hit",
screenEffect = "poison_bolt_screen",
projectileSpeed = 7.5,
attackPower = 20,
damageType = "poison",
--cameraShake = true,
tags = { "spell" },
}
defineObject{
name = "poison_bolt_greater",
class = "ProjectileSpell",
particleSystem = "poison_bolt",
hitParticleEffect = "poison_bolt_hit",
lightColor = vec(0.25, 0.6, 0.2),
lightBrightness = 4,
lightRange = 4,
lightHitBrightness = 4,
lightHitRange = 5,
launchSound = "poison_bolt_launch",
projectileSound = "poison_bolt",
hitSound = "poison_bolt_hit",
screenEffect = "poison_bolt_screen",
projectileSpeed = 7.5,
attackPower = 35,
damageType = "poison",
--cameraShake = true,
tags = { "spell" },
}
defineObject{
name = "frostbolt",
class = "ProjectileSpell",
particleSystem = "frostbolt",
hitParticleEffect = "frostbolt_hit",
lightColor = vec(0.25, 0.5, 1),
lightBrightness = 15,
lightRange = 7,
lightHitBrightness = 40,
lightHitRange = 10,
launchSound = "frostbolt_launch",
projectileSound = "frostbolt",
hitSound = "frostbolt_hit",
projectileSpeed = 7.5,
attackPower = 10,
damageType = "cold",
freezeChance = 50,
freezeDuration = 4,
--cameraShake = true,
tags = { "spell" },
}
defineObject{
name = "improved_frostbolt",
class = "ProjectileSpell",
particleSystem = "frostbolt",
hitParticleEffect = "frostbolt_hit",
lightColor = vec(0.25, 0.5, 1),
lightBrightness = 15,
lightRange = 7,
lightHitBrightness = 40,
lightHitRange = 10,
launchSound = "frostbolt_launch",
projectileSound = "frostbolt",
hitSound = "frostbolt_hit",
projectileSpeed = 7.5,
attackPower = 15,
damageType = "cold",
freezeChance = 50,
freezeDuration = 7,
--cameraShake = true,
tags = { "spell" },
}
defineObject{
name = "ice_shards",
class = "IceShards",
attackPower = 20,
chainCounter = 4,
--cameraShake = true,
tags = { "spell" },
}
defineObject{
name = "lightning_bolt",
class = "ProjectileSpell",
particleSystem = "lightning_bolt",
hitParticleEffect = "lightning_bolt_hit",
lightColor = vec(0.25, 0.5, 1),
lightBrightness = 15,
lightRange = 7,
lightHitBrightness = 40,
lightHitRange = 10,
castShadow = true,
launchSound = "lightning_bolt_launch",
projectileSound = "lightning_bolt",
hitSound = "lightning_bolt_hit_small",
projectileSpeed = 10,
attackPower = 35,
damageType = "shock",
--cameraShake = true,
tags = { "spell" },
}
defineObject{
name = "lightning_bolt_greater",
class = "ProjectileSpell",
particleSystem = "lightning_bolt_greater",
hitParticleEffect = "lightning_bolt_hit_greater",
lightColor = vec(0.25, 0.5, 1),
lightBrightness = 15,
lightRange = 7,
lightHitBrightness = 40,
lightHitRange = 10,
castShadow = true,
launchSound = "lightning_bolt_launch",
projectileSound = "lightning_bolt",
hitSound = "lightning_bolt_hit",
projectileSpeed = 10,
attackPower = 47,
damageType = "shock",
--cameraShake = true,
tags = { "spell" },
}
defineObject{
name = "powerbolt",
class = "ProjectileSpell",
particleSystem = "lightning_bolt",
hitParticleEffect = "lightning_bolt_hit",
lightColor = vec(0.25, 0.5, 1),
lightBrightness = 15,
lightRange = 7,
lightHitBrightness = 40,
lightHitRange = 10,
castShadow = true,
launchSound = "lightning_bolt_launch",
projectileSound = "lightning_bolt",
hitSound = "lightning_bolt_hit",
projectileSpeed = 10,
attackPower = 35,
damageType = "shock",
--cameraShake = true,
tags = { "spell" },
}
defineObject{
name = "poison_cloud",
class = "PoisonCloud",
attackPower = 5,
tags = { "spell" },
}
defineObject{
name = "blob",
class = "Blob",
tags = { "spell" },
}