<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=4032" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: How do I add a spell at 100% to a race or class?</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4032</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>How do I add a spell at 100% to a race or class?</title>
   <link>https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17562#p17562</link>
   <description>Another solution that doesn&#039;t require adding global variables for each skill you want to find is to look up the skill name in the skill table using the function skill_lookup (or whatever it&#039;s called) -- this will perform a binary search, which is much faster than a linear scan.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17562#p17562</guid>
   <pubDate>Wed, 29 Apr 2009 08:43:18 CDT</pubDate>
   <category>Building</category>
   <author>nobody@example.com (David Haley)</author>
  </item>
  <item>
   <title>How do I add a spell at 100% to a race or class?</title>
   <link>https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17561#p17561</link>
   <description> [quote=Zeno][code]ch-&amp;gt;pcdata-&amp;gt;learned[gsn_fireball] = 100;[/code] Would need the race ifcheck too, of course. [/quote] I must say that is pretty clean.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17561#p17561</guid>
   <pubDate>Wed, 29 Apr 2009 07:04:51 CDT</pubDate>
   <category>Building</category>
   <author>nobody@example.com (irbobo)</author>
  </item>
  <item>
   <title>How do I add a spell at 100% to a race or class?</title>
   <link>https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17554#p17554</link>
   <description>Hm. That&#039;s nifty. Never tried to do that before.. *cough*</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17554#p17554</guid>
   <pubDate>Mon, 27 Apr 2009 22:10:34 CDT</pubDate>
   <category>Building</category>
   <author>nobody@example.com (Banner)</author>
  </item>
  <item>
   <title>How do I add a spell at 100% to a race or class?</title>
   <link>https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17552#p17552</link>
   <description>[code]ch-&amp;gt;pcdata-&amp;gt;learned[gsn_fireball] = 100;[/code] Would need the race ifcheck too, of course. </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17552#p17552</guid>
   <pubDate>Mon, 27 Apr 2009 21:18:02 CDT</pubDate>
   <category>Building</category>
   <author>nobody@example.com (Zeno)</author>
  </item>
  <item>
   <title>How do I add a spell at 100% to a race or class?</title>
   <link>https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17551#p17551</link>
   <description>That&#039;s how it&#039;s done in my MUD. How can you find the skill without doing a for loop?</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17551#p17551</guid>
   <pubDate>Mon, 27 Apr 2009 21:13:55 CDT</pubDate>
   <category>Building</category>
   <author>nobody@example.com (Banner)</author>
  </item>
  <item>
   <title>How do I add a spell at 100% to a race or class?</title>
   <link>https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17548#p17548</link>
   <description>And if a for loop is used, it should definitely break after the correct entry has been found.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17548#p17548</guid>
   <pubDate>Mon, 27 Apr 2009 13:04:53 CDT</pubDate>
   <category>Building</category>
   <author>nobody@example.com (David Haley)</author>
  </item>
  <item>
   <title>How do I add a spell at 100% to a race or class?</title>
   <link>https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17547#p17547</link>
   <description>I don&#039;t understand why a for loop is done for this. It can be done in one line.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17547#p17547</guid>
   <pubDate>Mon, 27 Apr 2009 12:27:41 CDT</pubDate>
   <category>Building</category>
   <author>nobody@example.com (Zeno)</author>
  </item>
  <item>
   <title>How do I add a spell at 100% to a race or class?</title>
   <link>https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17546#p17546</link>
   <description>I&#039;d like to point out for anyone else that may find this topic useful, I missed a bracket in my earlier post. It should read: [code] if( ch-&amp;gt;race == RACE_DRAGON) {    int sn; for( sn = 0; sn &amp;lt; top_sn; sn++ ) { if( !str_cmp( skill_table[sn]-&amp;gt;name, &amp;quot;fireball&amp;quot;) { ch-&amp;gt;pcdata-&amp;gt;learned[sn] = 100; } </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17546#p17546</guid>
   <pubDate>Mon, 27 Apr 2009 11:16:34 CDT</pubDate>
   <category>Building</category>
   <author>nobody@example.com (Banner)</author>
  </item>
  <item>
   <title>How do I add a spell at 100% to a race or class?</title>
   <link>https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17544#p17544</link>
   <description>ok, that&#039;s fine. but even word of recall will sometimes fail plus it uses mana. You said all classes will have this. Some classes will have a better advantage (albeit not that big with word of recall) with it.</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17544#p17544</guid>
   <pubDate>Mon, 27 Apr 2009 07:55:14 CDT</pubDate>
   <category>Building</category>
   <author>nobody@example.com (tphegley)</author>
  </item>
  <item>
   <title>How do I add a spell at 100% to a race or class?</title>
   <link>https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17541#p17541</link>
   <description>I was going to do that but found this to be an easier solution</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/how-do-i-add-a-spell-at-100-to-a-race-or-class-4032/&amp;p=17541#p17541</guid>
   <pubDate>Mon, 27 Apr 2009 00:51:45 CDT</pubDate>
   <category>Building</category>
   <author>nobody@example.com (irbobo)</author>
  </item>
 </channel>
</rss>
