Revision 1, 1.0 kB
(checked in by jinshiro, 17 years ago)
|
|
Rev | Line | |
---|
[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //===== By: ================================================== |
---|
| 3 | //= Lupus |
---|
| 4 | //= Shows your HAT's slots IDs |
---|
| 5 | //= Use it for some checks... e.g. |
---|
| 6 | //= is your EQUPPED weapon has FIRE property? |
---|
| 7 | //= is your EQUPPED item produced? |
---|
| 8 | //============================================================ |
---|
| 9 | |
---|
| 10 | prontera,155,177,4 script Check My Hat 810,{ |
---|
| 11 | mes "Checking your head..."; |
---|
| 12 | set @ref,0; |
---|
| 13 | |
---|
| 14 | if (getequipisequiped(1)) goto L_CHECK1; |
---|
| 15 | mes "Nothing?"; |
---|
| 16 | emotion e_hmm; |
---|
| 17 | close; |
---|
| 18 | |
---|
| 19 | L_CHECK1: |
---|
| 20 | set @id,getequipid(1); |
---|
| 21 | if(getequipisidentify(1)) goto L_CHECK2; |
---|
| 22 | mes "How can you wear not identified hats?"; |
---|
| 23 | npctalk "You're a cheater!"; |
---|
| 24 | emotion e_wah; |
---|
| 25 | close; |
---|
| 26 | |
---|
| 27 | L_CHECK2: |
---|
| 28 | set @ref,getequiprefinerycnt(1); |
---|
| 29 | mes "Your hat is... "+getitemname(@id)+"..."; |
---|
| 30 | if(@ref)mes "It has been refined "+@ref+" times."; |
---|
| 31 | mes "Card Slot 0:"+getequipcardid(1,0)+" 1:"+getequipcardid(1,1); |
---|
| 32 | mes "Card Slot 2:"+getequipcardid(1,2)+" 3:"+getequipcardid(1,3); |
---|
| 33 | close; |
---|
| 34 | } |
---|