Phalanx, броня (Renewal)

Phalanx (PHALANX) – броня.

 

Mdef + 3.
Reduces damage taken from all race monsters by 1%.
Recovers 60 HP and 6 SP every 5 seconds.
If base Vit is 90 or higher, reduces damage taken from all race monsters by 1%, recovers 90 HP and 9 SP every 5 seconds.
If base Vit is 125 or higher, reduces damage taken from all race monsters by 3%, recovers 150 HP and 15 SP every 5 seconds.
―――――――――――――
Attribute: - Slots: 0
Def : 50 Mdef : 3
Refined: No Destroyed: No

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

  • ID: 29614
  • Код: PHALANX
  • Тип: броня
  • Уровень брони: 1
  • Защита: 50
  •  
  • Требуемый уровень: 100
  • Цена покупки: 20 з
  • Цена продажи: 10 з
  • Вес: 80

Скрипт

bonus bMdef,3;
if (readparam(bVit)>=125) {
   bonus2 bSubRace,RC_All,5;
   bonus2 bHPRegenRate,150,5000;
   bonus2 bHPRegenRate,15,5000;
}
else if (readparam(bVit)>=90) {
   bonus2 bSubRace,RC_All,2;
   bonus2 bHPRegenRate,90,5000;
   bonus2 bHPRegenRate,9,5000;
}
else {
   bonus2 bSubRace,RC_All,1;
   bonus2 bHPRegenRate,60,5000;
   bonus2 bHPRegenRate,6,5000;
}