Skip to content

Commit

Permalink
Merge pull request #11 from GTNewHorizons/GTNH-Colen-bloodmagic-telep…
Browse files Browse the repository at this point in the history
…oser-fix

Fix teleposer costing no LP with interdim travel
  • Loading branch information
Dream-Master authored Apr 21, 2021
2 parents 6706247 + ae65462 commit 1fddcd5
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,11 @@ public void updateEntity()
{
entityCount = 0;
}

SoulNetworkHandler.syphonFromNetwork(focus, damage * transportCount + damage * entityCount);
//Teleport


//Teleport with minimum cost of 2000 LP.
int cost = Math.max(damage * transportCount + damage * entityCount, 2000);
SoulNetworkHandler.syphonFromNetwork(focus, cost);

if (worldF.equals(worldObj))
{
iterator1 = list1.iterator();
Expand Down

0 comments on commit 1fddcd5

Please sign in to comment.