I was thinking i would like to give my remorted classes and extra atack, so i went for a walk throught the code to see what information i could glean about how this works and came up with the following. If im am doing anything wrong here could someone let me know.
1. SSet the skill pointing to spell_null
2. Declare the gsn_skill and then do the assign gsn thing as well in db.c
3. Duplicate this piece of code in the multi_hit function in fight.c making it 6th attact and upping the bonus a little
Is there anything more i would need to do? Thanks for you help in advance.
1. SSet the skill pointing to spell_null
2. Declare the gsn_skill and then do the assign gsn thing as well in db.c
3. Duplicate this piece of code in the multi_hit function in fight.c making it 6th attact and upping the bonus a little
chance = IS_NPC(ch) ? ch->level
: (int) ((LEARNED(ch, gsn_fifth_attack)+(dual_bonus*3))/4);
if ( number_percent( ) < chance )
{
learn_from_success( ch, gsn_fifth_attack );
retcode = one_hit( ch, victim, dt );
if ( retcode != rNONE || who_fighting( ch ) != victim )
return retcode;
}
else
learn_from_failure( ch, gsn_fifth_attack ); Is there anything more i would need to do? Thanks for you help in advance.