.@g = getenchantgrade(EQI_SHOES); autobonus "{ bonus bAtkRate,20; }",30,10000,BF_WEAPON; if (.@g>=ENCHANTGRADE_C) { bonus bCritical,7; if (.@g>=ENCHANTGRADE_A) { bonus bCrt,12; bonus bCRate,10; } }