Changes to packet, fixes for lua compile issue

This commit is contained in:
KimLS committed 2019-06-22 17:00:15 -07:00
1 parent a51a1d7106
commit c233379894
4 files changed
+698 -348

No files matched your search

+1 -1
View File
@@ -2161,7 +2161,7 @@ bool Lua_Mob::IsBerserk() {
return self->IsBerserk();
}
bool Lua_Mob::TryFinishingBlow(Lua_Mob defender, int &damage) {
bool Lua_Mob::TryFinishingBlow(Lua_Mob defender, int damage) {
Lua_Safe_Call_Bool();
return self->TryFinishingBlow(defender, damage);
}
+1 -1
View File
@@ -415,7 +415,7 @@ public:
int AttackAnimation(int Hand, Lua_ItemInst weapon);
int GetWeaponDamage(Lua_Mob against, Lua_ItemInst weapon);
bool IsBerserk();
bool TryFinishingBlow(Lua_Mob defender, int &damage);
bool TryFinishingBlow(Lua_Mob defender, int damage);
int GetBodyType();
int GetOrigBodyType();
void CheckNumHitsRemaining(int type, int32 buff_slot, uint16 spell_id);