obj
Fire_Throw
icon = 'FireThrow.dmi'
density = 0
New()
spawn(10)
del src
Bump(A)
if(ismob(A))
del src
return
obj
FlamesEffect
icon = 'FlamesEffect.dmi'
density = 0
New()
spawn(30)
del src
Bump(A)
if(ismob(A))
del src
return
mob
verb
Fire_Throw()
set category = "Fire Bending"
set name = "Fire Throw"
icon_state = "Fire"
var/K = new/obj/Fire_Throw(usr.loc)
var/K = new/obj/FlamesEffect(usr.loc)
K:dir = usr.dir
walk(K,usr.dir)
loading Avatar.dme
Techniques.dm:30:error: K: duplicate definition
Techniques.dm:29:error: K: previous definition
Avatar.dmb - 2 errors, 0 warnings (double-click on an error to jump to it)
Problem description:
Im trying to make it so that when i throw the technique Fire Throw, the flames effect will be under it and i know the techniques dont to damage atm but i want this cool effect first xD
You have 2 variables defined right next to each other with the same name. Change one.