mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	3d:: shmup:: monsters better at avoiding obstacles
This commit is contained in:
		| @@ -2802,7 +2802,13 @@ void moveMonster(monster *m, int delta) { | ||||
|     return; | ||||
|     } | ||||
|    | ||||
|   nat = nat0 * spin(igospan[igo]) * xpush(step) * spin(-igospan[igo]);; // * spintox(wherePC); | ||||
|   if(DIM == 3 && igo) { | ||||
|     ld fspin = rand() % 1000;   | ||||
|     nat = nat0 * cspin(1,2,fspin) * spin(igospan[igo]) * xpush(step) * spin(-igospan[igo]) * cspin(2,1,fspin); | ||||
|     } | ||||
|   else { | ||||
|     nat = nat0 * spin(igospan[igo]) * xpush(step) * spin(-igospan[igo]); // * spintox(wherePC); | ||||
|     } | ||||
|  | ||||
|   if(m->type != moRagingBull && !peace::on) | ||||
|   if(intval(nat*C0, goal*C0) >= intval(m->pat*C0, goal*C0) && !stunned && !carried) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue