mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-11-03 23:33:01 +00:00 
			
		
		
		
	ru:: 'chill time' power
This commit is contained in:
		@@ -409,7 +409,12 @@ void add_platf_hooks() {
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
  rogueviz::rv_hook(shmup::hooks_turn, 90, [=] (int d) {
 | 
			
		||||
    gtime += d;
 | 
			
		||||
 | 
			
		||||
    ld tscale = 1;
 | 
			
		||||
    if(dexmode->flags & ACTIVE)
 | 
			
		||||
      tscale *= 10. / (10 + m.current_stats[stat::dex]);
 | 
			
		||||
 | 
			
		||||
    gtime += d * tscale;
 | 
			
		||||
    while(gtime > 1000. / game_fps) {
 | 
			
		||||
      gtime -= 1000. / game_fps;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user