mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-06 17:22:17 +00:00
Fix some issues with Rampage/AE Ramp
This commit is contained in:
1 parent
22efe33f9b
commit
fe97af4d89
3 files changed
+30
-34
No files matched your search
+10
@@ -170,6 +170,16 @@ public:
|
||||
void DoMainHandAttackRounds(Mob *target, ExtraAttackOptions *opts = nullptr);
|
||||
void DoOffHandAttackRounds(Mob *target, ExtraAttackOptions *opts = nullptr);
|
||||
virtual bool CheckDoubleAttack(bool tripleAttack = false); // mob version doesn't use this flag
|
||||
// inline process for places where we need to do them outside of the AI_Process
|
||||
void ProcessAttackRounds(Mob *target, ExtraAttackOptions *opts = nullptr)
|
||||
{
|
||||
if (target) {
|
||||
DoMainHandAttackRounds(target, opts);
|
||||
if (CanThisClassDualWield())
|
||||
DoOffHandAttackRounds(target, opts);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
//Appearance
|
||||
void SendLevelAppearance();
|
||||
|
||||
Reference in new issue
Block a user