Specific Item Drop?

Imbecile

New member
Messages
30
Points
0
Okay here is my thought about this one.

On prt_fild04, I want all Porings (on that map only) to drop a specific item (TCG Card). 

Anyone?

 
Code:
OnNPCKillEvent:	if ( strcharinfo( 3 ) != "prt_fild04" || killedrid !=  1002 ) end;	getitem 7227, 1;	end;
 
Last edited by a moderator:
Code:
OnNPCKillEvent:	if ( strcharinfo( 3 ) != prt_fild04 || killedrid !=  1002 ) end;	getitem 7227, 1;	end;
Code:
[Error]: script:op_2: invalid data for operator C_NE[Debug]: Data: string value="prt_fild04"[Debug]: Data: number value=0[Debug]: Source (NPC): kjhdkfjsf (invisible/not on a map)
 
Last edited by a moderator:
OnNPCKillEvent: if ( strcharinfo( 3 ) != prt_fild04 || killedrid != 1002 ) end; getitem 7227, 1; end;
shouldnt prt_fild04 be inside quotes.

 
I forgot to put " " lols
default_biggrin.png


 
Last edited by a moderator:
I rather do a true statement here

Code:
-    script    kjdhfksjf    -1,{OnNPCKillEvent:    if ( strcharinfo(3) == "prt_fild04" && killedrid == 1002 && rand(100) < 10 )        getitem TCG_Card, 1;    end;}
 
Back
Top