How do I make Multi-Tiled attack?
|
|
Code:
mob var lolo = 0 cherios=0 kurois=0 vai1=0 vai2=0 vai3=0 vai4=0 vai5=0 vai6=0
mob/Vaizard/verb/Cero() set category = "Combat" usr.stamina -= 10 if(usr.stamina <= 5) usr<<"<font color=red><B><small><B>Combat Info:</font><font color=white><B><small> You need to rest!" if(usr.cherios==1) sleep(20) usr.cherios=0 else third()
mob proc third() var/obj/H = new/obj/Bakudo/Cero view()<<sound('cero3.wav') H.dir = src.dir H.loc = src.loc while(H) step(H,H.dir) var/turf/T = H.loc if(T.density == 1) del(H) break for(var/mob/M as mob in T) if(M == src) continue if(src.reiatsu < M.reiatsu) src<<"<font color=#0099ff><B><small><B>Combat Info:</font><font color=white><B><small> You don't phase [M]" if(src.reiatsu > M.reiatsu) var/damage = src.reiatsu - M.reiatsu + 2000 M:HP -= damage src<<"<font color=#0099ff><B><small><B>Combat Info:</font><font color=white><B><small> You hit [M] for [damage] damage!</font>" M:DeathCheck() usr.Levelup() usr.exp+=rand(50,300) usr.gold+=rand(10,20) del(H) sleep(2) usr.cherios=1
|
Problem description:
Alright,thats all my coding for a Cero attack im making on my bleach game and I wanted to know,how would I make it have like a trail? Like the same icon but just like 3 more that follow behind?For example i'll draw a picture/diagram XD lol
o=Myself -=Cero
Current Cero:
o-
Cero I want:
o----
|