[Function f_npc_coppying] //F_NPC_COPPYING <TARG.UID>
REF1=<args>
REF3=<uid>
for 1 24
if <dlocal._for> != 21
findlayer(<dlocal._for>).remove
ref2=<ref1.findlayer(<dlocal._for>)>
serv.newitem <ref2.baseid>
new.color <ref2.color>
new.attr attr_newbie
new.cont <ref3>
ref3.act.equip
endif
endfor
STR=<REF1.STR>
HITS=<STR>
DEX=<REF1.DEX>
STAM=<DEX>
INT=<REF1.INT>
MANA=<INT>
FAME=<REF1.FAME>
BODY=<REF1.BODY>
OBODY=<REF1.OBODY>
COLOR=<REF1.COLOR>
NAME=<REF1.NAME>
SOUND=snd_SPELL_REACTIVE_ARMOR
EFFECT=3,i_fx_HEAL_EFFECT,6,15,1
for 0 48
REF3.<serv.skill.<dlocal._for>>=<REF1.<serv.skill.<dlocal._for>>>
endfor
TAG0.AKTIF 1
TAG.LASTUID=<REF1>
UPDATE
[CHARDEF c_human_warrior]
NAME=#Names_Humanmale
ID=c_man_invisible
CAN=MT_WALK|MT_RUN|MT_EQUIP|MT_USEHANDS
DESIRES=i_gold
CATEGORY=Monsters
SUBSECTION=Coppy NPC
DESCRIPTION=Human Warrior
ON=@Create
COLOR=07fff
NPC=brain_HUMAN
FAME=100
KARMA=-6000
STR=10000
DEX=10000
INT=10000
ON=@NPCSeeNewPlayer
IF !(<DTAG0.AKTIF>)
F_NPC_COPPYING <SRC>
Return 1
ENDIF
ON=@KILL
TAG0.AKTIF=
TAG.LASTUID=
ON=@GetHit
IF !(<TAG.LASTUID> == <SRC>)
F_NPC_COPPYING <SRC>
Return 1
ENDIF
on=@npcrestock
ITEM=loot_SKELETAL_KNIGHT