Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus bUnbreakableWeapon;
bonus bMatkRate,5;
bonus bMatk,210;
if (BaseLevel>=210) {
bonus bSMatk,1;
bonus bSpl,2;
}
if (.@r>=7) {
skill "SO_PSYCHIC_WAVE",5;
bonus2 bMagicAddEle,Ele_All,15;
if (.@r>=9) {
bonus bVariableCastrate,-15;
bonus2 bSkillAtk,"SO_PSYCHIC_WAVE",20;
if (.@r>=11) {
bonus2 bMagicAtkEle,Ele_Neutral,20;
bonus2 bMagicAtkEle,Ele_Earth,20;
bonus bVariableCastrate,-5;
}
}
}
if (.@g>=ENCHANTGRADE_D) {
bonus bMatkRate,3;
if (.@g>=ENCHANTGRADE_C) {
bonus2 bMagicAtkEle,Ele_Neutral,15;
bonus2 bMagicAtkEle,Ele_Earth,15;
bonus bSMatk,1;
if (.@g>=ENCHANTGRADE_B) {
bonus bSMatk,2;
bonus bSpl,3;
}
}
}
bonus bMatk,15*(.@r/2);
bonus2 bSkillAtk,"WZ_HEAVENDRIVE",30*(.@r/3); |