Hey! So I've been trying to make a wand that shoots a fire beam that deals damage, I have everything right so far, excepty the part where SkDragon comes in, it doesn't give me any errors, there's just no particles no matter what SkDragon code I put
every 0.1 seconds:
if {ApprenticeCooldown} is higher than 0:
set {ApprenticeCooldown} to {ApprenticeCooldown} - 0.1[/CODE]
Code:
on right click:
if name of player's held item is "&fApprentice's Wand":
if {ApprenticeCooldown} isn't set:
set {ApprenticeCooldown} to 3
loop blocks from block above player to block above block 30 in front of player:
set {_loc} to location of loop-block
loop living entities in radius 1 around loop-block where [entity input isn't player]:
damage loop-entity by 4
chance of 25%:
ignite loop-entity for 5 seconds
exit 2 loops
if loop-block is solid:
stop loop
#I'd like to have the particle line here
if {ApprenticeCooldown} is lower than or equal to 0:
set {ApprenticeCooldown} to 3
loop blocks from block above player to block above block 30 in front of player:
set {_loc} to location of loop-block
loop living entities in radius 1 around loop-block where [entity input isn't player]:
damage loop-entity by 4
chance of 25%:
ignite loop-entity for 5 seconds
exit 2 loops
if loop-block is solid:
stop loop
#I'd like to have the particle line here
else:
if {ApprenticeCooldown} is higher than 0:
cancel event
message "&cYou can use this again in &e%{ApprenticeCooldown}% &cseconds!" to player
play sound "ENTITY_ENDERMAN_TELEPORT" with volume 200 with pitch 0.4 at player for player
every 0.1 seconds:
if {ApprenticeCooldown} is higher than 0:
set {ApprenticeCooldown} to {ApprenticeCooldown} - 0.1
every 0.1 seconds:
if {ApprenticeCooldown} is higher than 0:
set {ApprenticeCooldown} to {ApprenticeCooldown} - 0.1[/CODE]