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