A lot of changes, Client::NukeItem(), Client::DeleteItemInInventory(), Archery damage from uint16 to uint32, a lot of "prettifying" of math, code, and comments.

This commit is contained in:
Kinglykrab
2014-06-11 02:41:46 -04:00
parent 5b9a41f02d
commit c4bbfbe007
3 changed files with 447 additions and 879 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ public:
float HeadingAngleToMob(Mob *other); // to keep consistent with client generated messages
virtual void RangedAttack(Mob* other) { }
virtual void ThrowingAttack(Mob* other) { }
uint16 GetThrownDamage(int16 wDmg, int32& TotalDmg, int& minDmg);
uint32 GetThrownDamage(int16 wDmg, int32& TotalDmg, int& minDmg);
// 13 = Primary (default), 14 = secondary
virtual bool Attack(Mob* other, int Hand = 13, bool FromRiposte = false, bool IsStrikethrough = false,
bool IsFromSpell = false, ExtraAttackOptions *opts = nullptr) = 0;