Ancient Gold Ornament [1], броня (Renewal)

Ancient Gold Ornament [1] (ANCIENT_GOLD_DECO) – броня.

Ancient Gold Ornament [1], броня (Renewal)

A Beautiful Golden accessory with ancient magic. It changes its power depending on the owner's class.
If base Lv. 150, All Stats +2.
If Swordman, Merchant, Thief class, ATK + 8%
If Mage or Acolyte, MATK + 8%, increase 7% of heal amount,
If Archer, DEX +3, increase long distance physical attack power 10%.

Базовые свойства предмета

  • ID: 24442
  • Код: ANCIENT_GOLD_DECO
  • Тип: броня
  • Уровень брони: 1
  • Защита: 7
  •  
  • Требуемый уровень: 100
  • Профессии: alchemist, assassin, bard, blacksmith, crusader, dancer, hunter, knight, monk, priest, rogue, sage, wizard
  • Цена покупки: 20 з
  • Цена продажи: 10 з
  • Вес: 40

Скрипт

if (BaseLevel >= 150) {
   bonus bAllStats,2;
}
if (BaseClass == Job_Swordman || BaseClass == Job_Merchant || BaseClass == Job_Thief) {
   bonus2 bAddClass,Class_All,8;
}
if (BaseClass == Job_Mage || BaseClass == Job_Acolyte) {
   bonus bMatkRate,8;
   bonus bHealPower,7;
}
if (BaseClass == Job_Archer) {
   bonus bDex,3;
   if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_VIEW) == W_BOW)
      bonus bLongAtkRate,10;
}