mob
Saga_NPC
Super_13
name = "{NPC} Super 13"
icon = 'npcs.dmi'
icon_state = "Super 13"
density = 1
dead = 0
safe = 0
powerlevel = 15000000000
powerlevel_max = 15000000000
ki = 3750000000
ki_max = 3750000000
speed = 35000000
speed_bonus = 500000
strength = 120000000
strength_bonus = 1500000
defence = 50000000
defence_bonus = 00000
alliance = "Evil"
race = "Android"
level = 650
KO = 0
zenni = 3000000
frozen = 0
cooldown = 0
exp = -9000000000000
tnl = 3750
var/mob/PC/P
New()
. = ..()
src.CreateName()
spawn()
Wander()
proc/Wander()
while(src)
for(P in oview(6))
if(P.karma == "Good")
/*if(prob(5))
for(var/mob/PC/M in oview(6))
if(M.karma == "Good")
KiAttack(M)*/
step_towards(src,P)
break
sleep(10)
Bump(mob/M)
if(istype(M,/mob/PC))
Attack2(M)
proc/Attack2(mob/M)
if(!M)
return
if(src.attack_lock == 1)
return
if(src.buku == 1)
return
if(M.buku == 1)
return
if(M == src)
src << "You cannot attack yourself!"
return
if(M.safe == 1)
src << "A force stops you from attacking [M]!"
return
if(M.KO == 1)
src << "Finish them!"
return
Problem description:
i have this and it has no errors but i dont know how to make it come on my game
You're gonna have to be a lot more specific if you want help with that. Also, FYI there are different kinds of errors, compiler errors being just one of them. Just because your game compiles doesn't mean it has no errors. In fact, obviously it does have an error since it's not behaving as you intended.
Lummox JR