Home
last modified time | relevance | path

Searched refs:exp_gained (Results 1 – 8 of 8) sorted by relevance

/dports/games/dungeoncrawl/dc400b26-src/source/
H A Dplayer.h306 void gain_exp(unsigned int exp_gained);
H A Dplayer.cc1739 void gain_exp( unsigned int exp_gained ) in gain_exp() argument
1749 snprintf( info, INFO_SIZE, "gain_exp: %d", exp_gained ); in gain_exp()
1753 if (you.experience + exp_gained > 8999999) in gain_exp()
1756 you.experience += exp_gained; in gain_exp()
1758 if (you.exp_available + exp_gained > 20000) in gain_exp()
1761 you.exp_available += exp_gained; in gain_exp()
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dplayer.cc2409 unsigned int gain_exp(unsigned int exp_gained) in gain_exp() argument
2414 you.experience_pool += exp_gained; in gain_exp()
2420 if (max_gain < exp_gained) in gain_exp()
2422 return exp_gained; in gain_exp()
2428 if (exp_gained == 0) in apply_exp()
2434 _handle_xp_penance(exp_gained); in apply_exp()
2435 _handle_god_wrath(exp_gained); in apply_exp()
2438 you.attribute[ATTR_EVOL_XP] += exp_gained; in apply_exp()
2441 unsigned int skill_xp = exp_gained; in apply_exp()
2458 dprf("gain_exp: %d", exp_gained); in apply_exp()
[all …]
H A Dplayer.h1056 unsigned int gain_exp(unsigned int exp_gained);
/dports/games/scummvm/scummvm-2.5.1/devtools/create_ultima/files/ultima6/scripts/u6/
H A Dactor.lua969 local exp_gained = actor_hit(defender, max_dmg, attacker)
971 attacker.exp = attacker.exp + exp_gained
1027 local exp_gained = 0
1071exp_gained = math.floor((actor_base[1] + actor_base[2] + actor_base[3] + actor_base[4] + actor_bas…
1148 return exp_gained
/dports/games/scummvm/scummvm-2.5.1/devtools/create_ultima/files/ultima6/scripts/md/
H A Dactor.lua498 local exp_gained = 0
574 return exp_gained
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dactivity_handlers.cpp4248 int exp_gained = spell_being_cast.casting_exp( *p ); in spellcasting_finish() local
4254 spell_being_cast.gain_exp( exp_gained / 5 ); in spellcasting_finish()
4255 … p->add_msg_if_player( m_good, _( "You gain %i experience. New total %i." ), exp_gained / 5, in spellcasting_finish()
4305 spell_being_cast.gain_exp( exp_gained ); in spellcasting_finish()
4306 … p->add_msg_if_player( m_good, _( "You gain %i experience. New total %i." ), exp_gained, in spellcasting_finish()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dactivity_handlers.cpp4248 int exp_gained = spell_being_cast.casting_exp( *p ); in spellcasting_finish() local
4254 spell_being_cast.gain_exp( exp_gained / 5 ); in spellcasting_finish()
4255 … p->add_msg_if_player( m_good, _( "You gain %i experience. New total %i." ), exp_gained / 5, in spellcasting_finish()
4305 spell_being_cast.gain_exp( exp_gained ); in spellcasting_finish()
4306 … p->add_msg_if_player( m_good, _( "You gain %i experience. New total %i." ), exp_gained, in spellcasting_finish()