Skip to content

Commit

Permalink
Fix weapon proc chance
Browse files Browse the repository at this point in the history
Caused by 6b564b1.
  • Loading branch information
bm01 committed Aug 24, 2024
1 parent 7823453 commit 98aa5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GameServer/gameobjects/GameLiving.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ public virtual void CheckWeaponMagicalEffect(AttackData ad, DbInventoryItem weap

// Proc chance is 2.5% per SPD, i.e. 10% for a 3.5 SPD weapon. - Tolakram, changed average speed to 3.5

double procChance = (weapon.ProcChance > 0 ? weapon.ProcChance : 10) * (weapon.SPD_ABS / 35.0);
double procChance = (weapon.ProcChance > 0 ? weapon.ProcChance : 10) * (weapon.SPD_ABS / 35.0) * 0.01;

//Error protection and log for Item Proc's
Spell procSpell = null;
Expand Down

0 comments on commit 98aa5c7

Please sign in to comment.