Item Use Script
|
1 .@r = getrefine();
2 bonus bMaxHPrate,5;
3 bonus bMaxSPrate,5;
4 bonus bBaseAtk,20*(.@r/2);
5 if (.@r>=9)
6 .@val = 25;
7 else if (.@r>=7)
8 .@val = 10;
9 if (.@r>=11) {
10 bonus2 bAddEle,Ele_Dark,15;
11 bonus2 bMagicAddEle,Ele_Dark,15;
12 bonus2 bAddEle,Ele_Undead,15;
13 bonus2 bMagicAddEle,Ele_Undead,15;
14 }
15 bonus2 bAddRace,RC_Demon,.@val;
16 bonus2 bAddRace,RC_Undead,.@val;
17 bonus2 bMagicAddRace,RC_Demon,.@val;
18 bonus2 bMagicAddRace,RC_Undead,.@val;
|