Item Use Script
|
1 bonus2 bSubRace,RC_Player_Human,5;
2 bonus2 bSubRace,RC_DemiHuman,5;
3 bonus2 bSubRace,RC_Brute,5;
4 bonus2 bSubRace,RC_Player_Doram,5;
5 bonus2 bSubEle,Ele_Wind,5;
6 bonus2 bSubEle,Ele_Earth,5;
7 bonus bAgi,5;
8 bonus bVit,5;
9 bonus bMdef,10;
10 .@r = getrefine();
11 if (.@r>=7) {
12 .@val = 10;
13 bonus bSPGainValue,10;
14 bonus bLongSPGainValue,10;
15 if (.@r>=8) {
16 .@s = (readparam(bAgi)+readparam(bVit))/20;
17 bonus bBaseAtk,15*.@s;
18 bonus bHit,5*.@s;
19 if (.@r>=9) {
20 .@val += 10;
21 }
22 }
23 bonus bSPGainValue,.@val;
24 bonus bLongSPGainValue,.@val;
25 }
|