Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bUnbreakableWeapon;
bonus2 bSkillAtk,"SP_SWHOO",10;
bonus bMatk,12*(.@r/3);
if (.@r>=7) {
bonus2 bSkillAtk,"SP_SWHOO",20;
if (.@r>=9) {
bonus bVariableCastrate,-10;
if (.@r>=11) {
bonus2 bSkillAtk,"SP_SWHOO",25;
if (.@r>=12) {
bonus2 bMagicAtkEle,Ele_Holy,15;
bonus2 bMagicAtkEle,Ele_Fire,15;
bonus2 bMagicAtkEle,Ele_Earth,15;
bonus2 bMagicAtkEle,Ele_Water,15;
bonus2 bMagicAtkEle,Ele_Wind,15;
bonus2 bMagicAtkEle,Ele_Ghost,15;
bonus2 bMagicAtkEle,Ele_Dark,15;
}
}
}
}
if (.@g >= ENCHANTGRADE_D) {
if (.@r>=11) {
bonus2 bMagicAddEle,Ele_All,15;
}
}
if (.@g >= ENCHANTGRADE_C) {
bonus2 bSkillAtk,"SP_SWHOO",15;
if (.@g >= ENCHANTGRADE_B) {
bonus bMatkRate,7;
if (.@g >= ENCHANTGRADE_A) {
bonus bSMatk,(.@r/3);
bonus bSpl,(.@r/3);
}
}
} |