Alright, I downloaded Josh Jenk's critical strike snippet from kyndig, it works fine... except that it just says theres a critical strike and doesn't do any damage at all.
Help on how to add the damage would be greatly appreciated, thanks. Heres the code.
in fight.c
/*
* Critical Hit Snippet
* By Josh Jenks [ Haelyn ]
*/
if ( diceroll == 19 )
{
act( AT_FIRE, "You critically hit $N!", ch, NULL, victim, TO_CHAR );
act( AT_FIRE, "$n critically hits you!", ch, NULL, victim, TO_VICT );
act( AT_FIRE, "$n critically hits $N!", ch, NULL, victim, TO_NOTVICT );
dam = dam*2;
}
Thanks Again,
Rayze
Help on how to add the damage would be greatly appreciated, thanks. Heres the code.
in fight.c
/*
* Critical Hit Snippet
* By Josh Jenks [ Haelyn ]
*/
if ( diceroll == 19 )
{
act( AT_FIRE, "You critically hit $N!", ch, NULL, victim, TO_CHAR );
act( AT_FIRE, "$n critically hits you!", ch, NULL, victim, TO_VICT );
act( AT_FIRE, "$n critically hits $N!", ch, NULL, victim, TO_NOTVICT );
dam = dam*2;
}
Thanks Again,
Rayze