mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-25 02:08:23 +00:00
Update to how bonuses are calculated in chance to hit code to be
consistent across all relevant effects (treating avoidance and hit chance bonuses equally). Rule ArcheryHitPenalty will now calc correctly (Was doing basically nothing) New field npc_types 'Avoidance' (add avoidance bonus to npc) Rules for setting min / max chance to hit
This commit is contained in:
@@ -44,6 +44,10 @@ Param1: Max Ranged distance (default: 250)
|
||||
Param2: Percent Chance to Hit modifier
|
||||
Param3: Percent Total Damage modifier
|
||||
|
||||
Kayen: Updated to Chance to Hit code with how bonuses are applied to be consistent for all effects.
|
||||
Added field to npc_types 'Avoidance' which will modify chance to avoid melee
|
||||
Added rules to set max and min chance to hit from melee/ranged (Default 95% / 5%)
|
||||
|
||||
Required SQL: utils/sql/git/required/2014_07_10_npc_spells.sql
|
||||
Optional SQL: utils/sql/git/optional/2014_07_10_AICastingRules.sql
|
||||
|
||||
|
||||
Reference in New Issue
Block a user