Item Use Script
|
1 bonus bAgiVit,5;
2 bonus bMdef,10;
3 bonus2 bSubEle,Ele_Fire,5;
4 bonus2 bSubEle,Ele_Water,5;
5 bonus2 bSubRace,RC_Dragon,5;
6 bonus2 bSubRace,RC_DemiHuman,5;
7 bonus2 bSubRace,RC_Player_Human,5;
8 .@r = getrefine();
9 .@val = (readparam(bAgi)+readparam(bVit))/20;
10 if (.@r>=7) {
11 skill "TF_HIDING",1;
12 if (.@r>=8) {
13 bonus bMaxHPrate,.@val;
14 bonus bVariableCastrate,-2*.@val;
15 if (.@r>=9) {
16 skill "AS_CLOAKING",1;
17 }
18 }
19 }
|