Item Use Script |
.@g = getenchantgrade();
.@r = getrefine();
bonus2 bSkillAtk,"SJ_FALLINGSTAR_ATK",10;
bonus2 bSkillAtk,"SJ_FALLINGSTAR_ATK2",10;
bonus bBaseAtk,12*(.@r/3);
if (.@r>=7) {
bonus2 bSkillAtk,"SJ_FALLINGSTAR_ATK",20;
bonus2 bSkillAtk,"SJ_FALLINGSTAR_ATK2",20;
if (.@r>=9) {
bonus2 bAddSize,Size_All,15;
if (.@r>=11) {
bonus2 bSkillAtk,"SJ_FALLINGSTAR_ATK",25;
bonus2 bSkillAtk,"SJ_FALLINGSTAR_ATK2",25;
if (.@r>=12) {
bonus bShortAtkRate,15;
}
}
}
}
if (.@g >= ENCHANTGRADE_D) {
if (.@r>=11) {
bonus2 bAddEle,Ele_All,15;
}
}
if (.@g >= ENCHANTGRADE_C) {
bonus2 bSkillAtk,"SJ_FALLINGSTAR_ATK",15;
bonus2 bSkillAtk,"SJ_FALLINGSTAR_ATK2",15;
if (.@g >= ENCHANTGRADE_B) {
bonus bAtkRate,7;
if (.@g >= ENCHANTGRADE_A) {
bonus bPAtk,(.@r/3);
bonus bPow,(.@r/3);
}
}
} |