mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 16:41:29 +00:00
Linux fix.
This commit is contained in:
parent
29d614421f
commit
d4139b98e3
@ -5,6 +5,7 @@ Secrets: Fixed an overflow in melee lifetap calculations (int16 vs int32)
|
|||||||
Secrets: Fixed overflow on AC and ATK values that can go out of range.
|
Secrets: Fixed overflow on AC and ATK values that can go out of range.
|
||||||
Secrets: Merc/Bot fixes for previous updates.
|
Secrets: Merc/Bot fixes for previous updates.
|
||||||
Secrets: Changed a lot of int16s for stat-related functions to int32 because they were causing combat formula overflows (int16/int32 mismatch).
|
Secrets: Changed a lot of int16s for stat-related functions to int32 because they were causing combat formula overflows (int16/int32 mismatch).
|
||||||
|
Secrets: Linux fix?
|
||||||
|
|
||||||
== 11/02/2014 ==
|
== 11/02/2014 ==
|
||||||
Akkadius: Added out of range checking for Spell Save/Loads
|
Akkadius: Added out of range checking for Spell Save/Loads
|
||||||
|
|||||||
@ -5664,7 +5664,7 @@ bool Mob::TryDivineSave()
|
|||||||
{
|
{
|
||||||
SetHP(1);
|
SetHP(1);
|
||||||
|
|
||||||
int16 EffectsToTry[] =
|
int32 EffectsToTry[] =
|
||||||
{
|
{
|
||||||
aabonuses.DivineSaveChance[1],
|
aabonuses.DivineSaveChance[1],
|
||||||
itembonuses.DivineSaveChance[1],
|
itembonuses.DivineSaveChance[1],
|
||||||
@ -5707,7 +5707,7 @@ bool Mob::TryDeathSave() {
|
|||||||
|
|
||||||
int SuccessChance = 0;
|
int SuccessChance = 0;
|
||||||
int buffSlot = spellbonuses.DeathSave[1];
|
int buffSlot = spellbonuses.DeathSave[1];
|
||||||
int16 UD_HealMod = 0;
|
int32 UD_HealMod = 0;
|
||||||
int HealAmt = 300; //Death Pact max Heal
|
int HealAmt = 300; //Death Pact max Heal
|
||||||
|
|
||||||
if(buffSlot >= 0){
|
if(buffSlot >= 0){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user