mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 23:58:25 +00:00
Kayen: Implemented SE_ArcheryDoubleAttack (Chance to do an extra archery attack)
Kayen: Implemented SE_ShieldEquipDmgMod (Increase damage in primary hand if shield equiped) Kayen: Implemented SE_ShieldEquipHateMod (Increase hate generated if shield equiped) Kayen: Implemented SE_TriggerOnAmountValue (Trigger spell if HP/Mana/End bellow X value or num pet on target)
This commit is contained in:
@@ -303,6 +303,8 @@ bool Client::Process() {
|
||||
if(CheckLosFN(GetTarget())){
|
||||
//client has built in los check, but auto fire does not.. done last.
|
||||
RangedAttack(GetTarget());
|
||||
if (CheckArcheryDoubleAttack())
|
||||
RangedAttack(GetTarget(), true);
|
||||
}
|
||||
else
|
||||
ranged_timer.Start();
|
||||
@@ -1931,8 +1933,10 @@ void Client::DoEnduranceUpkeep() {
|
||||
}
|
||||
}
|
||||
|
||||
if(upkeep_sum != 0)
|
||||
if(upkeep_sum != 0){
|
||||
SetEndurance(GetEndurance() - upkeep_sum);
|
||||
TryTriggerOnValueAmount(false, false, true);
|
||||
}
|
||||
}
|
||||
|
||||
void Client::CalcRestState() {
|
||||
|
||||
Reference in New Issue
Block a user