Fix some issues with Rampage/AE Ramp

This commit is contained in:
Michael Cook (mackal) committed 2015-07-05 02:27:51 -04:00
1 parent 22efe33f9b
commit fe97af4d89
3 files changed
+30 -34

No files matched your search

+10
View File
@@ -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();