Searched refs:EFF_DRUNK (Results 1 – 13 of 13) sorted by relevance
69 static const int EFF_DRUNK = 4; variable
30 static const int EFF_DRUNK = 4; variable
450 stats->EFFECTS[EFF_DRUNK] = true; in item_PotionBooze()453 stats->EFFECTS_TIMERS[EFF_DRUNK] = 2400 + rand() % 1200; in item_PotionBooze()456 …stats->EFFECTS_TIMERS[EFF_DRUNK] = std::max(300, stats->EFFECTS_TIMERS[EFF_DRUNK] - (entity->getPE… in item_PotionBooze()485 stats->EFFECTS_TIMERS[EFF_DRUNK] = 2400 + rand() % 1200; in item_PotionBooze()591 stats->EFFECTS[EFF_DRUNK] = true; in item_PotionJuice()594 stats->EFFECTS_TIMERS[EFF_DRUNK] = 2400 + rand() % 1200; in item_PotionJuice()597 …stats->EFFECTS_TIMERS[EFF_DRUNK] = std::max(300, stats->EFFECTS_TIMERS[EFF_DRUNK] - (entity->getPE… in item_PotionJuice()626 stats->EFFECTS_TIMERS[EFF_DRUNK] = 1000 + rand() % 300; in item_PotionJuice()3850 if ( stats[player]->EFFECTS[EFF_DRUNK] ) in item_ToolMirror()
960 + (targetStats->EFFECTS[EFF_DRUNK] ? 2 : 0)); // +2.5% base, + extra if target is inebriated in succubusChooseWeapon()
1121 case EFF_DRUNK: in effectTimes()1479 if ( myStats->EFFECTS[EFF_DRUNK] ) in effectTimes()3310 …else if ( ticks % 60 == 0 && rand() % 200 == 0 && myStats->EFFECTS[EFF_DRUNK] && myStats->type != … in handleEffects()4845 if ( entitystats->EFFECTS[EFF_DRUNK] ) in statGetSTR()5048 if ( entitystats->EFFECTS[EFF_DRUNK] ) in statGetDEX()5089 if ( entitystats->EFFECTS[EFF_WITHDRAWAL] && !entitystats->EFFECTS[EFF_DRUNK] ) in statGetDEX()5268 …if ( my && entitystats->EFFECTS[EFF_DRUNK] && my->behavior == &actPlayer && entitystats->type == G… in statGetINT()5486 …if ( my && entitystats->EFFECTS[EFF_DRUNK] && my->behavior == &actPlayer && entitystats->type == G… in statGetCHR()6470 if ( myStats->weapon->type == POTION_BOOZE && !myStats->EFFECTS[EFF_DRUNK] ) in attack()7542 && stats[player]->EFFECTS[EFF_DRUNK] ) in attack()[all …]
1466 + (targetStats->EFFECTS[EFF_DRUNK] ? 2 : 0) in incubusChooseWeapon()
869 if ( parentStats && parentStats->EFFECTS[EFF_DRUNK] ) in actThrown()
767 else if ( race == HUMAN && (myStats->EFFECTS[EFF_DRUNK] || myStats->EFFECTS[EFF_CONFUSED]) in makeFollower()848 if ( race == HUMAN && (myStats->EFFECTS[EFF_DRUNK] || myStats->EFFECTS[EFF_CONFUSED]) ) in makeFollower()918 else if ( race == HUMAN && (myStats->EFFECTS[EFF_DRUNK] || myStats->EFFECTS[EFF_CONFUSED]) in makeFollower()
334 if ( stats[clientnum]->EFFECTS[EFF_DRUNK] ) in gameLogic()
3968 if ( (stats[PLAYER_NUM]->EFFECTS[EFF_DRUNK] && (stats[PLAYER_NUM]->type != GOATMAN)) in actPlayer()
2026 if ( !players[clientnum]->entity->getStats()->EFFECTS[EFF_DRUNK] ) in consoleCommand()2028 players[clientnum]->entity->getStats()->EFFECTS[EFF_DRUNK] = true; in consoleCommand()2029 players[clientnum]->entity->getStats()->EFFECTS_TIMERS[EFF_DRUNK] = -1; in consoleCommand()2033 players[clientnum]->entity->getStats()->EFFECTS[EFF_DRUNK] = false; in consoleCommand()2034 players[clientnum]->entity->getStats()->EFFECTS_TIMERS[EFF_DRUNK] = 0; in consoleCommand()2472 stats[clientnum]->EFFECTS[EFF_DRUNK], stats[clientnum]->EFFECTS_TIMERS[EFF_DRUNK]); in consoleCommand()
389 case EFF_DRUNK: in drawSustainedSpells()
1306 if ( hitstats->EFFECTS[EFF_CONFUSED] || hitstats->EFFECTS[EFF_DRUNK] || player >= 0 ) in spellEffectCharmMonster()