[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Running the server
. . -> [Subject]  Combat styles not gaining experience?

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Combat styles not gaining experience?
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Conner   USA  (381 posts)  [Biography] bio
Date Fri 06 Jan 2006 04:04 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Robert Powell   Australia  (349 posts)  [Biography] bio
Date Thu 05 Jan 2006 09:19 AM (UTC)  quote  ]
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.

EldhaMUD Game Developments
The_Fury: Lead Developer, Head Coder
http://fury.eldhamud2.org
[Go to top] top

Posted by Conner   USA  (381 posts)  [Biography] bio
Date Wed 04 Jan 2006 08:25 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Dralnu   USA  (277 posts)  [Biography] bio
Date Wed 04 Jan 2006 04:13 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Conner   USA  (381 posts)  [Biography] bio
Date Thu 29 Dec 2005 03:28 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Wed 28 Dec 2005 10:03 PM (UTC)  quote  ]
Message
Not unless you change percents into a float.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Metsuro   USA  (389 posts)  [Biography] bio
Date Wed 28 Dec 2005 09:59 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Wed 28 Dec 2005 09:34 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Conner   USA  (381 posts)  [Biography] bio
Date Wed 28 Dec 2005 05:50 PM (UTC)  quote  ]
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
[Go to top] top

Posted by Samson   USA  (683 posts)  [Biography] bio
Date Sun 25 Dec 2005 07:00 AM (UTC)  quote  ]
Message
Zeno is right on. The styles can only be improved by switching between them during combat.

SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Sun 25 Dec 2005 01:27 AM (UTC)  quote  ]
Message
Switch while fighting; I'm pretty sure.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Kamen   (5 posts)  [Biography] bio
Date Sat 24 Dec 2005 10:52 PM (UTC)  quote  ]
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?
[Go to top] 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.


3,902 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]