Home
last modified time | relevance | path

Searched refs:MAXCHARGE (Results 1 – 5 of 5) sorted by relevance

/dports/games/barony/Barony-3.3.7/src/
H A Dacthudweapon.cpp690 && HUDWEAPON_OVERCHARGE < MAXCHARGE ) in actHudWeapon()
1784 HUDWEAPON_CHARGE = std::min<real_t>(HUDWEAPON_CHARGE + 1, MAXCHARGE); in actHudWeapon()
2081 HUDWEAPON_CHARGE = std::min<real_t>(HUDWEAPON_CHARGE + 1, MAXCHARGE); in actHudWeapon()
2278 HUDWEAPON_CHARGE = std::min<real_t>(HUDWEAPON_CHARGE + 1, MAXCHARGE); in actHudWeapon()
2418 players[clientnum]->entity->attack(PLAYER_POSE_GOLEM_SMASH, MAXCHARGE, nullptr); in actHudWeapon()
2566 HUDWEAPON_CHARGE = std::min<real_t>(HUDWEAPON_CHARGE + 1, MAXCHARGE); in actHudWeapon()
2779 if ( HUDWEAPON_CHARGE == MAXCHARGE || castStrikeAnimation in actHudWeapon()
H A Dgame.hpp319 #define MAXCHARGE 30 // charging up weapons macro
H A Dmonster_crystalgolem.cpp543 my->attack(MONSTER_POSE_GOLEM_SMASH, MAXCHARGE, nullptr); in crystalgolemMoveBodyparts()
H A Dentity.cpp6543 real_t normalisedCharge = (charge * 1.5 / MAXCHARGE); // 0-1.5 in attack()
6613 normalisedCharge /= MAXCHARGE; in attack()
6643 real_t normalisedCharge = (charge * 1.5 / MAXCHARGE); // 0-1.5 in attack()
7025 if ( charge > MAXCHARGE / 2 ) in attack()
7043 if ( charge < MAXCHARGE / 2 ) in attack()
7054 if ( charge < MAXCHARGE / 2 ) in attack()
7463 damage *= std::max(charge, MAXCHARGE / 2) / ((double)(MAXCHARGE / 2)); in attack()
8091 …( damage > 0 && weaponskill == PRO_UNARMED && behavior == &actPlayer && (charge >= MAXCHARGE - 3) ) in attack()
8202 …&actPlayer && weaponskill >= PRO_SWORD && weaponskill <= PRO_POLEARM && (charge >= MAXCHARGE - 3) ) in attack()
8363 if ( charge >= MAXCHARGE - 3 ) // fully charged strike injects venom. in attack()
/dports/games/barony/Barony-3.3.7/src/magic/
H A DcastSpell.cpp776 …caster->attack(MONSTER_POSE_SPECIAL_WINDUP1, MAXCHARGE, nullptr); // this is server only, tells cl… in castSpell()