Home
last modified time | relevance | path

Searched refs:EFF_DRUNK (Results 1 – 13 of 13) sorted by relevance

/dports/games/barony/Barony-3.3.7/src/
H A Dstat_editor.hpp69 static const int EFF_DRUNK = 4; variable
H A Dstat.hpp30 static const int EFF_DRUNK = 4; variable
H A Ditem_usage_funcs.cpp450 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()
H A Dmonster_succubus.cpp960 + (targetStats->EFFECTS[EFF_DRUNK] ? 2 : 0)); // +2.5% base, + extra if target is inebriated in succubusChooseWeapon()
H A Dentity.cpp1121 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 …]
H A Dmonster_incubus.cpp1466 + (targetStats->EFFECTS[EFF_DRUNK] ? 2 : 0) in incubusChooseWeapon()
H A Dactthrown.cpp869 if ( parentStats && parentStats->EFFECTS[EFF_DRUNK] ) in actThrown()
H A Dactmonster.cpp767 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()
H A Dgame.cpp334 if ( stats[clientnum]->EFFECTS[EFF_DRUNK] ) in gameLogic()
H A Dactplayer.cpp3968 if ( (stats[PLAYER_NUM]->EFFECTS[EFF_DRUNK] && (stats[PLAYER_NUM]->type != GOATMAN)) in actPlayer()
/dports/games/barony/Barony-3.3.7/src/interface/
H A Dconsolecommand.cpp2026 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()
H A Dmagicgui.cpp389 case EFF_DRUNK: in drawSustainedSpells()
/dports/games/barony/Barony-3.3.7/src/magic/
H A Dmagic.cpp1306 if ( hitstats->EFFECTS[EFF_CONFUSED] || hitstats->EFFECTS[EFF_DRUNK] || player >= 0 ) in spellEffectCharmMonster()