Board |
Mechanics.old [context] |
Sender |
Bobble |
Date |
Thu Jul 16 04:49:11 2015 |
To |
mircenary,astark,all |
Subject |
sharpshooting |
|
Can confirm that Astark's reply is 100% correct. Here's the code snippet:
if ( is_ranged_weapon(wield) )
{
int skill = get_skill(ch, gsn_sharp_shooting)
+ mastery_bonus(ch, gsn_sharp_shooting, 30, 50)
+ get_skill(ch, gsn_precise_shot);
if ( dt != gsn_burst && dt != gsn_semiauto && dt != gsn_fullauto
&& number_range(1,800) <= skill )
{
dam *= 2;
check_improve (ch, gsn_sharp_shooting, TRUE, 5);
}
}
|