juanfu
-
Posts
40 -
Joined
-
Last visited
Community Answers
-
juanfu's post in Guild emblem was marked as the answer
i had to remove white color but i think it look fine (using paint)
spartan.bmp
-
juanfu's post in Potion of Invulnerability was marked as the answer
{ sc_start SC_INVINCIBLE,5000,1; } itemDB id,nameA,NameB,11,0,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ specialeffect2 EF_GUARD; sc_start SC_INVINCIBLE,5000,1; },{},{} item type 11 = will not be consumed, if you will carry more than 1 and want them consume change to 2
item_delay
id,600000//you custom potion with invincible all damage will be 1 or miss
itemdelay 600000=10min
-
juanfu's post in Is not deleting the pet egg was marked as the answer
for ( [email protected] = 0; [email protected] < [email protected]; [email protected] += 2 ) { delitem getd( ".petr"+ [email protected]_class[[email protected]] +"["+ [email protected] +"]" ), getd( ".petr"+ [email protected]_class[[email protected]] +"["+( [email protected] +1 )+"]" ); //here is deleting items } } // but there is not any other delitem deleting the egg it shoud be here // no veo ningun otro delitem asi que deberia ir aqui antes de entregar el nuevo pet makepet [email protected]_pet_id = getd( ".pet"+ [email protected]_class[[email protected]] +"["+ rand( getarraysize( getd( ".pet"+ [email protected]_class[[email protected]] ) ) ) +"]" ); mes "your "+ [email protected]_name$[[email protected]] +" has reborn into "+ getmonsterinfo( [email protected]_pet_id, 0 ); mes "please rename your pet ~"; close; also in the post they say
add in request same egg item for Evolution to delete egg , so you can add a second delete or add the egg in the required items
-
juanfu's post in Incorrect use of 'close' command - Gold Room was marked as the answer
OnNPCKillEvent: if (getmapxy(@mapname$,@mapx,@mapy,0) == -1) goto L_Finish; L_Finish: close; change to end; instead close;