<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=3578" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: [Bug] Mobs with max hitdie values always show as DYING</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=3578</link>
  <description>The largest Smaug community resource site. - AFKMud 2.02</description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>[Bug] Mobs with max hitdie values always show as DYING</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-mobs-with-max-hitdie-values-always-show-as-dying-3578/&amp;p=14088#p14088</link>
   <description>Bug: Mobs with max hitdie values always show as DYING Danger: Trivial - Display issue only. Discovered in: AFKMud 2.02 Found by: Kayle Fixed by: Quixadhal --- [b]act_info.cpp, show_condition[/b] Locate: [code]   if( victim-&amp;gt;max_hit &amp;gt; 0 ) percent = ( 100 * victim-&amp;gt;hit ) / victim-&amp;gt;max_hit; else percent = -1;[/code] Change to: [code]   if( victim-&amp;gt;max_hit &amp;gt; 0 ) percent = ( int )( ( 100.0 * ( double )( victim-&amp;gt;hit ) ) / ( double )( victim-&amp;gt;max_hit ) ); </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-mobs-with-max-hitdie-values-always-show-as-dying-3578/&amp;p=14088#p14088</guid>
   <pubDate>Sat, 12 Jan 2008 17:45:15 CST</pubDate>
   <category>AFKMud Bugfix List</category>
   <author>nobody@example.com (Samson)</author>
  </item>
 </channel>
</rss>
