May 8 2006, 12:18 pm (Edited on May 8 2006, 6:43 pm) In response to Destroior ```mob verb KatonG() set category = "Ninjutsu" set name = "Katon Goukakyuu no Jutsu " if(usr.firing==1) usr<<"You cannot do this because you are already using some jutsu!!!" return if(usr.resting==1) usr<<"Sorry you canīt do it while resting..." return if(usr.chakrac < 100) var/CCusage = rand(17,23) if(usr.chakra= 20) view(usr) << "[usr]: Katon Goukakyuu no Jutsu!!!" usr << "[CCusage]/20 Chakra converted" usr.chakra -= CCusage usr.frozen=1 var/random=rand(1,2) if(random==2) var/random2=rand(1,3) if(random2==3) if(usr.nin<10) usr.ninexp += rand(15,20) usr.exp += rand(1,5) if(usr.nin>=10&&usr.nin<30) usr.ninexp += rand(10,15) usr.exp += rand(1,4) if(usr.nin>30) usr.ninexp += rand(1,10) usr.exp += rand(1,3) if(usr.ninexp >= usr.maxninexp) usr.ninlevel += 1 usr.ninat += rand(1,3) usr.nindf += rand(1,3) usr.maxninexp += rand(50,100) usr.ninexp=0 usr<<"Your ninjutsu increased!" if(usr.exp>=usr.maxexp) usr.level+=1 usr.maxexp+=rand(250,350) usr.stamina=usr.maxstamina usr.points += rand(5,10) usr<<"Your level increased..." else if(usr.nin<10) usr.ninexp += rand(15,20) usr.exp += rand(1,5) if(usr.nin>=10&&usr.nin<30) usr.ninexp += rand(10,15) usr.exp += rand(1,4) if(usr.nin>30) usr.ninexp += rand(1,10) usr.exp += rand(1,3) if(usr.ninexp >= usr.maxninexp) usr.ninlevel += 1 usr.ninat += rand(1,3) usr.nindf += rand(1,3) usr.maxninexp += rand(50,100) usr.ninexp=0 usr<<"Your ninjutsu increased!" if(usr.exp>=usr.maxexp) usr.level+=1 usr.maxexp+=rand(250,350) usr.stamina=usr.maxstamina usr.points += rand(5,10) usr<<"Your level increased..." var/obj/KatonT/K = new /obj/KatonT var/obj/KatonB/B = new /obj/KatonB K.icon_state = "Tail" B.icon_state = "Ball" if(usr.dir==NORTH) K.loc = usr.loc K.y+=1 K.dir = usr.dir K.Gowner=usr B.loc = usr.loc B.y+=2 B.dir = usr.dir B.Gowner=usr for(var/obj/KatonB/KB) if(KB.Gowner==usr) KB.hit=0 for(var/mob/M in KB.loc) goto BACK BACK M.frozen=1 var/damage = 50 if(usr.ninat>M.nindf) var/dif = usr.ninat - M.nindf var/damagef = round(damage * dif) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninat==M.nindf) var/damagef = round(damage) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninatM.nindf) var/dif = usr.ninat - M.nindf var/damagef = round(damage * dif) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninat==M.nindf) var/damagef = round(damage) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninatM.nindf) var/dif = usr.ninat - M.nindf var/damagef = round(damage * dif) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninat==M.nindf) var/damagef = round(damage) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninatM.nindf) var/dif = usr.ninat - M.nindf var/damagef = round(damage * dif) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninat==M.nindf) var/damagef = round(damage) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninatM.nindf) var/dif = usr.ninat - M.nindf var/damagef = round(damage * dif) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninat==M.nindf) var/damagef = round(damage) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninatM.nindf) var/dif = usr.ninat - M.nindf var/damagef = round(damage * dif) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninat==M.nindf) var/damagef = round(damage) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninat=10&&usr.nin<30) usr.ninexp += rand(10,15) usr.exp += rand(1,4) if(usr.nin>30) usr.ninexp += rand(1,10) usr.exp += rand(1,3) if(usr.ninexp >= usr.maxninexp) usr.ninlevel += 1 usr.ninat += rand(1,3) usr.nindf += rand(1,3) usr.maxninexp += rand(50,100) usr.ninexp=0 usr<<"Your ninjutsu increased!" if(usr.exp>=usr.maxexp) usr.level+=1 usr.maxexp+=rand(250,350) usr.stamina=usr.maxstamina usr.points += rand(5,10) usr<<"Your level increased..." else if(usr.nin<10) usr.ninexp += rand(15,20) usr.exp += rand(1,5) if(usr.nin>=10&&usr.nin<30) usr.ninexp += rand(10,15) usr.exp += rand(1,4) if(usr.nin>30) usr.ninexp += rand(1,10) usr.exp += rand(1,3) if(usr.ninexp >= usr.maxninexp) usr.ninlevel += 1 usr.ninat += rand(1,3) usr.nindf += rand(1,3) usr.maxninexp += rand(50,100) usr.ninexp=0 usr<<"Your ninjutsu increased!" if(usr.exp>=usr.maxexp) usr.level+=1 usr.maxexp+=rand(250,350) usr.stamina=usr.maxstamina usr.points += rand(5,10) usr<<"Your level increased..." var/obj/KatonT/K = new /obj/KatonT var/obj/KatonB/B = new /obj/KatonB K.icon_state = "Tail" B.icon_state = "Ball" if(usr.dir==NORTH) K.loc = usr.loc K.y+=1 K.dir = usr.dir K.Gowner=usr B.loc = usr.loc B.y+=2 B.dir = usr.dir B.Gowner=usr for(var/obj/KatonB/KB) if(KB.Gowner==usr) KB.hit=0 for(var/mob/M in KB.loc) goto BACK BACK M.frozen=1 var/damage = 50 if(usr.ninat>M.nindf) var/dif = usr.ninat - M.nindf var/damagef = round(damage * dif) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninat==M.nindf) var/damagef = round(damage) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninatM.nindf) var/dif = usr.ninat - M.nindf var/damagef = round(damage * dif) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninat==M.nindf) var/damagef = round(damage) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninatM.nindf) var/dif = usr.ninat - M.nindf var/damagef = round(damage * dif) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninat==M.nindf) var/damagef = round(damage) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninatM.nindf) var/dif = usr.ninat - M.nindf var/damagef = round(damage * dif) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninat==M.nindf) var/damagef = round(damage) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninatM.nindf) var/dif = usr.ninat - M.nindf var/damagef = round(damage * dif) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninat==M.nindf) var/damagef = round(damage) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninatM.nindf) var/dif = usr.ninat - M.nindf var/damagef = round(damage * dif) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninat==M.nindf) var/damagef = round(damage) M.hp-=damagef M.frozen=0 view(usr)<<"[usr] hit [M] with Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(M.npc==null&&M.npc!=1) M<<"You were hit by [usr] Katon Goukakyuu no Jutsu!!! - Damage: [damagef]" if(usr.ninat
 May 8 2006, 10:08 pm In response to Destroior It's UGLY, and makes no sense at all. I'd say start the whole code from scratch.
 May 8 2006, 10:10 pm In response to Mysame Its all the usr and goto makes me want to throw up i can hardly read it.
 May 2 2009, 1:10 pm In response to A.T.H.K If you all think you can do better then do it instead of complaining like freaking noobs.
 May 2 2009, 1:13 pm In response to Isenggard At first, I wasn't going to read this because of the topic's start date, but curiosity beat me, and wow. I'm not even going to say it.
 May 5 2009, 12:26 pm In response to Kaiochao I'm wondering how people even see these very old topics to begin with. I've done forum searches before and the oldest it ever gave me was maybe a couple months ago. And besides, who even uses the term "noob" anyways? I've filtered out all the terms on my games just because those words are annoying and seemingly the only "non-insult" people can think of nowadays on the internet.
Page: 1 2