Item Use Script |
1 .@str
2 =
3 readparam(bStr);
4 .@agi
5 =
6 readparam(bAgi);
7 .@vit
8 =
9 readparam(bVit);
10 .@int
11 =
12 readparam(bInt);
13 .@dex
14 =
15 readparam(bDex);
16 .@luk
17 =
18 readparam(bLuk);
19 bonus
20 bMatk,60;
21 bonus2
22 bHPRegenRate,60,6000;
23 bonus2
24 bMagicAtkEle,Ele_Neutral,2*(.@str/10);
25 bonus2
26 bMagicAtkEle,Ele_Wind,2*(.@agi/10);
27 bonus2
28 bMagicAtkEle,Ele_Earth,2*(.@vit/10);
29 bonus2
30 bMagicAtkEle,Ele_Fire,2*(.@int/10);
31 bonus2
32 bMagicAtkEle,Ele_Water,2*(.@dex/10);
33 bonus2
34 bMagicAtkEle,Ele_Holy,2*(.@luk/10);
35 if
36 (.@str
37 +
38 .@agi
39 +
40 .@vit
41 +
42 .@int
43 +
44 .@dex
45 +
46 .@luk
47 =
48 60)
49 bonus2
50 bMagicAtkEle,Ele_Ghost,2;
51 hateffect
52 HAT_EF_STRANGELIGHTS,true; |