obj
Battle
density = TRUE
icon = 'Techs_Ki_Blasts.dmi'
var
delay = 1
length = 15
damage_divider = 100
damage = 100
dominant = 0
splash_radius = 0
splash_damage = 0
daze = 0
mob
owner
Blast
New(location, mob/shooter)
if(!ismob(shooter)) return
src.damage = round(shooter.kipower * src.damage_divider)
src.dir = shooter.dir
if(!src.loc) src.loc = shooter.loc
src.owner = shooter
spawn(1300) del(src)
Energy_Blast
icon_state = "Energy Blast"
delay = 1
splash_radius = 0
daze = 0
length = 8
damage_divider = 300
mob
proc
EnergyBlast()
for(var/obj/Battle/Blast/Energy_Blast/c)
c.damage_divider=1000
Problem description:
I am trying to edit damage divider for energy blast once usr click on an icon in tech tree the proc EnergyBlast() activate. But it wont edit it and can please someone can help me out with it.