blob: 871e0f3855ca86d31296d5a8acf1d5ac62dec5eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//by Lupus
prontera.gat,156,179,6 script test_getmonsterinfo 117,{
mes "Please enter a monster ID (1001 ... 2000)";
input @value;
if(getmonsterinfo(@value,MOB_LV)<0 || getmonsterinfo(@value,MOB_NAME)=="Dummy") {
mes "Wrong MOB ID.";
close;
}
mes "Monster ID: "+@value+" '"+getmonsterinfo(@value,MOB_NAME)+"'";
mes "Current Monster info:";
set @id,0;
L_LOOP:
mes " getmonsterinfo("+@value+","+@id+") = "+getmonsterinfo(@value,@id);
set @id,@id+1;
if(@id<22) goto L_LOOP;
close;
}
|