#(SOLVED) cant find the reason particle isnt working

1 messages · Page 1 of 1 (latest)

feral adder
#

so im following a guide to create custom games, and ive followed 1to1 the guide, and everything works fine up until i insert some logic behind the skill, and not hard coded values.
"vVelocity = direction * speed," if i change in that line the "speed" to hard coded value - the arrow flies normally, but as i dont want to hard code it, i made an ability file where i set the speed i want the particle to have, yet it doesnt work for some reason.
https://pastebin.com/WcgNNMuy the arrow lua file
https://pastebin.com/YzGPJAQ3 the abilities txt file

#

also the same basically applies for the "big_boom" skill. I wanted to print the stun duration yet it always returns 0

meager rose
#

AbilitySpecial has been deprecated
use AbilityValues instead

feral adder
meager rose
#

post your new code

feral adder
meager rose
#

AbilityValues is not like this

"AbilityValues"
{
  "speed" "600"
}

you no longer need to specify the var type