Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Running the server ➜ Combat styles not gaining experience?

Combat styles not gaining experience?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Kamen   (5 posts)  Bio
Date Sat 24 Dec 2005 10:52 PM (UTC)
Message
I am sitll pretty new to smaug in general, but none of my fighting characters are gaining skill in any of the styles (normal, evasive, aggressive, etc) either by switching between them or by fighting with them set. How are these supposed to be raised?
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Sun 25 Dec 2005 01:27 AM (UTC)
Message
Switch while fighting; I'm pretty sure.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #2 on Sun 25 Dec 2005 07:00 AM (UTC)
Message
Zeno is right on. The styles can only be improved by switching between them during combat.
Top

Posted by Conner   USA  (381 posts)  Bio
Date Reply #3 on Wed 28 Dec 2005 05:50 PM (UTC)
Message
How hard is that to change so that you can gain experience in a combat style from using it rather than from switching to it?

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #4 on Wed 28 Dec 2005 09:34 PM (UTC)
Message
That's what I did, but it's hard to make it balanced. If it gains each round, it'll be maxed in a minute. So I set the difficulty high, and now it fails to max.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Metsuro   USA  (389 posts)  Bio
Date Reply #5 on Wed 28 Dec 2005 09:59 PM (UTC)
Message
is it possible to have it gain a fraction of a precent, every few battles? so say... maybe at like... 1000 battles you'll have maxed it or something?

Everything turns around in the end
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #6 on Wed 28 Dec 2005 10:03 PM (UTC)
Message
Not unless you change percents into a float.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Conner   USA  (381 posts)  Bio
Date Reply #7 on Thu 29 Dec 2005 03:28 AM (UTC)
Message
What if you made it only gain on something like the fourth successful hit while in that style? Would that be enough of a compromise or does it really just need to be set via sset to a high difficulty so that it gains each round but only on a high percentage? Or is that not what you were talking about?

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
Top

Posted by Dralnu   USA  (277 posts)  Bio
Date Reply #8 on Wed 04 Jan 2006 04:13 PM (UTC)
Message
You can always try setting them to floats and using a fraction of a percent, or if you feel froggy, use a damage-based or avoidance-based system (based on which style) to level it. i.e. every 500 damage, let aggressive style increase 1 point, and add 5 or 50 damage each percent point, but that may be a bit complex to do. Anyways, good luck to you
Top

Posted by Conner   USA  (381 posts)  Bio
Date Reply #9 on Wed 04 Jan 2006 08:25 PM (UTC)
Message
Wouldn't that mean trying to set up a new pfile value to log each player's damages ansd avoidances so you could track them over multiple battles that might well take place over multiple logons if not extending beyond multiple reboots?

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
Top

Posted by Robert Powell   Australia  (367 posts)  Bio
Date Reply #10 on Thu 05 Jan 2006 09:19 AM (UTC)
Message
This is what i did to make my styles gain by using and also to make all my skills and spells learn at a much slower rate.



/* Auto increase styles and modify damage based on character's fighting style, code cut from smaugfuss boards. By Remcom*/
   switch( ch->style )
   {
      default:
      case STYLE_FIGHTING:
         if( !IS_NPC( ch ) && ch->pcdata->learned[gsn_style_standard] > -1 )
            learn_from_success( ch, gsn_style_standard );
         break;
      case STYLE_DEFENSIVE:
         if( !IS_NPC( ch ) && ch->pcdata->learned[gsn_style_defensive] > -1 )
            learn_from_success( ch, gsn_style_defensive );
         dam = ( int )( .85 * dam );
         break;
      case STYLE_EVASIVE:
         if( !IS_NPC( ch ) && ch->pcdata->learned[gsn_style_evasive] > -1 )
            learn_from_success( ch, gsn_style_evasive );
         dam = ( int )( .8 * dam );
         break;
      case STYLE_AGGRESSIVE:
         if( !IS_NPC( ch ) && ch->pcdata->learned[gsn_style_aggressive] > -1 )
            learn_from_success( ch, gsn_style_aggressive );
         dam = ( int )( 1.1 * dam );
         break;
      case STYLE_BERSERK:
         if( !IS_NPC( ch ) && ch->pcdata->learned[gsn_style_berserk] > -1 )
            learn_from_success( ch, gsn_style_berserk );
         dam = ( int )( 1.2 * dam );
         break;
   }



Then this was added to learn_from_success


/* the following added by tommi Jan 2006, Code cut from AFKmud written by Tarl. 
  */
  if( skill_table[sn]->type == SKILL_WEAPON )
  {
    lchance = number_range( 1, 10 );
    if( lchance != 5 )
    {
      return;
    }

  }

  if( skill_table[sn]->type == SKILL_SKILL )
  {
    lchance = number_range( 1, 5 );
    if( lchance != 3 )
    {
      return;
    }

  }

  if( skill_table[sn]->type == SKILL_SPELL )
  {
    lchance = number_range( 1, 3 );
    if( lchance != 2 )
    {
      return;
    }



This was a simple hackish option that i chose, now since adding this in, i have thought about it a lot more and come up with a better solution to doing this.

Just a guy having a bit of fun. Nothing more, nothing less, I do not need I WIN to feel validated.
Top

Posted by Conner   USA  (381 posts)  Bio
Date Reply #11 on Fri 06 Jan 2006 04:04 AM (UTC)
Message
So, what's the better solution? :)

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


33,357 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.