@@ -520,7 +520,7 @@ discard block |
||
| 520 | 520 | public function damageStat(): string { |
| 521 | 521 | $stat = static::STAT_STRENGTH; |
| 522 | 522 | foreach($this->equipment as $item) { |
| 523 | - if(!$item->worn OR $item->slot != Equipment::SLOT_WEAPON) { |
|
| 523 | + if(!$item->worn or $item->slot != Equipment::SLOT_WEAPON) { |
|
| 524 | 524 | continue; |
| 525 | 525 | } |
| 526 | 526 | switch($item->type) { |
@@ -579,7 +579,7 @@ discard block |
||
| 579 | 579 | $stat = $effect->stat; |
| 580 | 580 | $type = $effect->type; |
| 581 | 581 | $duration = $effect->duration; |
| 582 | - if(is_int($duration) AND $duration < 1) { |
|
| 582 | + if(is_int($duration) and $duration < 1) { |
|
| 583 | 583 | $this->removeEffect($effect->id); |
| 584 | 584 | continue; |
| 585 | 585 | } |