Home
last modified time | relevance | path

Searched refs:poisonhurt (Results 1 – 1 of 1) sorted by relevance

/dports/games/barony/Barony-3.3.7/src/
H A Dentity.cpp3686 int poisonhurt = std::max(3, (myStats->MAXHP / 20)); in handleEffects() local
3692 poisonhurt = std::min(poisonhurt, 15); // prevent doing 50+ dmg in handleEffects()
3694 if ( poisonhurt > 3 ) in handleEffects()
3696 poisonhurt -= rand() % (std::max(1, poisonhurt / 4)); in handleEffects()
3698 this->modHP(-poisonhurt); in handleEffects()