Changeing damage on Spells
Posted: Mon Dec 22, 2014 2:44 pm
Hello i tried to change the damage output on different spells. But it seems that the damage does not change at all.
defineObject{
name = "fireburst",
baseObject = "base_spell",
components = {
{
class = "Particle",
particleSystem = "fireburst",
offset = vec(0, 1.2, 0),
destroyObject = true,
},
{
class = "Light",
color = vec(0.75, 0.4, 0.25),
brightness = 40,
range = 4,
offset = vec(0, 1.2, 0),
fadeOut = 0.75,
disableSelf = true,
},
{
class = "TileDamager",
attackPower = 1,
damageType = "fire",
sound = "fireburst",
screenEffect = "fireball_screen",
--cameraShake = true,
},
},
}
As you can see i changed the attackPower to 1 and before that i changed it to 50
The damage always stays the same.
Also how the damage is calculated is not very clear..the spell deals damage in the range of 10-60 and the base attack power is 20 of fire burst
defineObject{
name = "fireburst",
baseObject = "base_spell",
components = {
{
class = "Particle",
particleSystem = "fireburst",
offset = vec(0, 1.2, 0),
destroyObject = true,
},
{
class = "Light",
color = vec(0.75, 0.4, 0.25),
brightness = 40,
range = 4,
offset = vec(0, 1.2, 0),
fadeOut = 0.75,
disableSelf = true,
},
{
class = "TileDamager",
attackPower = 1,
damageType = "fire",
sound = "fireburst",
screenEffect = "fireball_screen",
--cameraShake = true,
},
},
}
As you can see i changed the attackPower to 1 and before that i changed it to 50
The damage always stays the same.
Also how the damage is calculated is not very clear..the spell deals damage in the range of 10-60 and the base attack power is 20 of fire burst