mob
verb
Summoner()
set category="Spells"
if(usr.MP <= 0)
usr << "You don't have enough magic"
else
if(kame==0)
usr.overlays += 'mage.dmi'
kame=1
usr.MP -= 0
sleep(0)
usr.overlays -= 'mage.dmi'
sleep(1)
new/mob/summoned/Dummy(src.loc)
for(var/mob/summoned/Dummy/F in usr.loc)
sleep(30)
del(F)
sleep(1)
kame=0
else
usr << "Your Already doing a spell "
mob
var
link=0
partynumber
partycounter
mob/summoned
var/mob/monsters/F
New()
.=..()
spawn(1)
Wander()
proc/Wander()
while(src)
if (F in oview(5))
step_towards(src,F)
else
step_rand(src)
for(F in view(src))
break
sleep(5)
spawn(40)
Wander()
Bump(mob/A)
if(istype(A,/mob))
A.HP-=(15+rand(1,usr.MS)) A.DeathCheck()
here my full code of the summoner process, now it already fights for you i just need it to give the usr that make it get the exp that of a monster that the summoner destroyed. and thanks in advance for your help:
Well, where ever you have your monster stats and everything else, do this.
I believe that is what you were asking for. I couldn't really understand what you wrote it was so jumbled up.
Just remember to fix the spacing since I can't use tab here.