@@ -476,7 +476,7 @@ discard block |
||
476 | 476 | public function damageStat(): string { |
477 | 477 | $stat = "strength"; |
478 | 478 | foreach($this->equipment as $item) { |
479 | - if(!$item->worn OR $item->slot != Equipment::SLOT_WEAPON) { |
|
479 | + if(!$item->worn or $item->slot != Equipment::SLOT_WEAPON) { |
|
480 | 480 | continue; |
481 | 481 | } |
482 | 482 | switch($item->type) { |
@@ -534,7 +534,7 @@ discard block |
||
534 | 534 | $stat = $effect->stat; |
535 | 535 | $type = $effect->type; |
536 | 536 | $duration = $effect->duration; |
537 | - if(is_int($duration) AND $duration < 0) { |
|
537 | + if(is_int($duration) and $duration < 0) { |
|
538 | 538 | unset($this->effects[$i]); |
539 | 539 | continue; |
540 | 540 | } |