Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
 Couple bugs
Today, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, Yahoo!, DotBot, Sogou, Yandex

Members: 0
Guests: 21
Stats
Files
Topics
Posts
Members
Newest Member
477
3,705
19,232
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SWFOTE FUSS » Using the setforcer command.
Forum Rules | Mark all | Recent Posts

Using the setforcer command.
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Aug 5, 2011, 11:49 am
Go to the top of the page
Go to the bottom of the page

elan
Fledgling
GroupMembers
Posts5
JoinedAug 5, 2011

After using the setforcer command and confirming within the player file that the relevant skills (as I understand them) are at max, the "lightsabers" weapon skill doesn't appear on the players' skill list. Additionally, the Jedi trainer says that the player isn't yet ready to practice that skill. The lightsaber weapon skill is at max in the player file and the character wields lightsabers without issue, is able to whirlwind and so forth.

Does anyone have any insight as to why the weapon skill's not showing up? Thanks.
       
Post is unread #2 Aug 5, 2011, 3:28 pm   Last edited Aug 5, 2011, 3:44 pm by ayuri
Go to the top of the page
Go to the bottom of the page

ayuri
Magician
GroupMembers
Posts239
JoinedJun 13, 2008

As far as I can remember, lightsaber isn't an actual weapon skill.
Your valid weapon's are blasters, bowcasters, force pikes, launchers and vibro-blades. Now, you can add the lightsaber into the weapons skill table in the pfile but I'm pretty sure it doesn't do anything. Looking at a few of the forcers in my game, no one has the lightsaber weapon skill except the default forcer we setup to 'train' people.


**EDIT:
I do see that in fight.c if I'm reading things right, Lightsaber's are not receiving any sort of bonus to their attacks:
int weapon_prof_bonus_check( CHAR_DATA *ch, OBJ_DATA *wield, int *gsn_ptr )
{
    int bonus;

    bonus = 0;  *gsn_ptr = -1;
    if ( !IS_NPC(ch) && wield )
    {
    switch(wield->value[3])
    {
       default: *gsn_ptr = -1;          break;
           case 3:      *gsn_ptr = gsn_lightsabers;     break;
           case 2:  *gsn_ptr = gsn_vibro_blades;    break;
           case 4:  *gsn_ptr = gsn_flexible_arms;   break;
           case 5:  *gsn_ptr = gsn_talonous_arms;   break;
           case 6:  *gsn_ptr = gsn_blasters;    break;
           case 8:  *gsn_ptr = gsn_bludgeons;   break;
           case 9:  *gsn_ptr = gsn_bowcasters;  break;
           case 11: *gsn_ptr = gsn_force_pikes; break;

    }
    if ( *gsn_ptr != -1 )
      bonus = (int) ( ch->pcdata->learned[*gsn_ptr] );

    }
    if ( IS_NPC(ch) && wield )
          bonus = get_trust(ch);
    return bonus;
}


I should say I am really lost when it comes to the fight code in smaugfuss and its derivatives.
Hope it helps,
ayuri
       
Pages:<< prev 1 next >>