mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-19 21:08:20 +00:00
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:
+2
-2
@@ -787,10 +787,10 @@ public:
|
|||||||
void SetMaterial(int16 slot_id, uint32 item_id);
|
void SetMaterial(int16 slot_id, uint32 item_id);
|
||||||
void Undye();
|
void Undye();
|
||||||
uint32 GetItemIDAt(int16 slot_id);
|
uint32 GetItemIDAt(int16 slot_id);
|
||||||
uint32 GetAugmentIDAt(int16 slot_id, uint8 augslot);
|
int32 GetAugmentIDAt(int16 slot_id, uint8 augslot);
|
||||||
bool PutItemInInventory(int16 slot_id, const ItemInst& inst, bool client_update = false);
|
bool PutItemInInventory(int16 slot_id, const ItemInst& inst, bool client_update = false);
|
||||||
bool PushItemOnCursor(const ItemInst& inst, bool client_update = false);
|
bool PushItemOnCursor(const ItemInst& inst, bool client_update = false);
|
||||||
void DeleteItemInInventory(int16 slot_id, int8 quantity = 0, bool client_update = false, bool update_db = true);
|
void DeleteItemInInventory(int16 slot_id, int16 quantity = 0, bool client_update = false, bool update_db = true);
|
||||||
bool SwapItem(MoveItem_Struct* move_in);
|
bool SwapItem(MoveItem_Struct* move_in);
|
||||||
void SwapItemResync(MoveItem_Struct* move_slots);
|
void SwapItemResync(MoveItem_Struct* move_slots);
|
||||||
void QSSwapItemAuditor(MoveItem_Struct* move_in, bool postaction_call = false);
|
void QSSwapItemAuditor(MoveItem_Struct* move_in, bool postaction_call = false);
|
||||||
|
|||||||
+1
-1
@@ -129,7 +129,7 @@ public:
|
|||||||
float HeadingAngleToMob(Mob *other); // to keep consistent with client generated messages
|
float HeadingAngleToMob(Mob *other); // to keep consistent with client generated messages
|
||||||
virtual void RangedAttack(Mob* other) { }
|
virtual void RangedAttack(Mob* other) { }
|
||||||
virtual void ThrowingAttack(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
|
// 13 = Primary (default), 14 = secondary
|
||||||
virtual bool Attack(Mob* other, int Hand = 13, bool FromRiposte = false, bool IsStrikethrough = false,
|
virtual bool Attack(Mob* other, int Hand = 13, bool FromRiposte = false, bool IsStrikethrough = false,
|
||||||
bool IsFromSpell = false, ExtraAttackOptions *opts = nullptr) = 0;
|
bool IsFromSpell = false, ExtraAttackOptions *opts = nullptr) = 0;
|
||||||
|
|||||||
+422
-854
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user