Skip to content

Commit

Permalink
fix(combathandler): small fix for TRSMap
Browse files Browse the repository at this point in the history
  • Loading branch information
Torwent committed Sep 5, 2024
1 parent 4a33b26 commit 60421c2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion optional/handlers/combathandler.simba
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,12 @@ begin
cuboid := cuboids[0];
end
else
cuboid := Minimap.GetCuboidMS(CombatHandler.MonsterWalkerCoord, CombatHandler.Monster.ShapeArray[0]);
begin
if ScriptWalker = nil then
cuboid := Minimap.GetCuboidMS(CombatHandler.MonsterWalkerCoord, CombatHandler.MonsterV2.Size)
else
cuboid := Minimap.GetCuboidMS(CombatHandler.MonsterWalkerCoord, CombatHandler.Monster.ShapeArray[0]);
end;

gotXP := XPBar.EarnedXP();

Expand Down

0 comments on commit 60421c2

Please sign in to comment.