Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

- add string replacements for healing surge value, level, and 1/2 level.

  • Loading branch information...
commit f1884c6ecb720946c3c9a2583d3516eed93d9e6b 1 parent e0b2dda
Jonathan Borzilleri authored

Showing 1 changed file with 12 additions and 0 deletions. Show diff stats Hide diff stats

  1. +12 0 includes/models/Power.php
12 includes/models/Power.php
@@ -797,6 +797,18 @@ public function getStringReplacement($string, $multiplier = 1) {
797 797 $result = $this->Player->implement_damage;
798 798 $result = $result * $multiplier;
799 799 break;
  800 + case 'surge':
  801 + $result = $this->Player->surge_value;
  802 + $result = $result * $multiplier;
  803 + break;
  804 + case 'lvl':
  805 + $result = $this->Player->level;
  806 + $result = $result * $multiplier;
  807 + break;
  808 + case 'hlvl':
  809 + $result = floor($this->Player->level/2);
  810 + $result = $result * $multiplier;
  811 + break;
800 812 }
801 813 return $result;
802 814 }

0 comments on commit f1884c6

Please sign in to comment.
Something went wrong with that request. Please try again.