Searched refs:poisonhurt (Results 1 – 1 of 1) sorted by relevance
3686 int poisonhurt = std::max(3, (myStats->MAXHP / 20)); in handleEffects() local3692 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()