hasActivatedSkill('저격')){ return true; } if($selfEnv['저격발동']??false){ return true; } $selfEnv['저격발동'] = true; $general = $self->general; $oppose->getLogger()->pushGeneralActionLog("상대를 저격했다!", ActionLogger::PLAIN); $oppose->getLogger()->pushGeneralBattleDetailLog("상대를 저격했다!", ActionLogger::PLAIN); $self->getLogger()->pushGeneralActionLog("상대에게 저격당했다!", ActionLogger::PLAIN); $self->getLogger()->pushGeneralBattleDetailLog("상대에게 저격당했다!", ActionLogger::PLAIN); $general->increaseVarWithLimit('injury', Util::randRangeInt($opposeEnv['woundMin'], $opposeEnv['woundMax']), null, 80); $this->processConsumableItem(); return true; } }