Fix first poison activation not counting damage.

This commit is contained in:
GreenComfyTea
2022-07-25 15:58:36 +03:00
parent 7a89f66d23
commit a2e7c6b78d
6 changed files with 42 additions and 122 deletions

View File

@@ -182,7 +182,7 @@ function player.update_damage(_player, damage_source_type, is_large_monster, dam
if is_large_monster then
player_monster_type = _player.large_monsters;
end
if damage_source_type == "player" then
player.merge_damage(player_monster_type, damage_object);
elseif damage_source_type == "bomb" then
@@ -380,7 +380,6 @@ local hunter_info_type_def = hunter_info_field:get_type();
local get_count_method = hunter_info_type_def:get_method("get_Count");
local get_item_method = hunter_info_type_def:get_method("get_Item");
local guid_type = hunter_unique_id_field:get_type();
local guid_equals_method = guid_type:get_method("Equals(System.Guid)");