Changed Ramona transition by life percentage.
Contributed by Sero.
This commit is contained in:
		| @@ -397,11 +397,23 @@ public class Ramona extends AbstractNpcAI | ||||
| 			} | ||||
| 			case RAMONA_1: | ||||
| 			{ | ||||
| 				if ((npc.getId() == RAMONA_1) && (_ramona1.getCurrentHp() <= (_ramona1.getMaxHp() * 0.75)) && (_ramona1.getCurrentHp() > (_ramona1.getMaxHp() * 0.50))) | ||||
| 				{ | ||||
| 					_ramona1.deleteMe(); | ||||
| 					startQuestTimer("SPAWN_RAMONA2", 1000, null, null); | ||||
| 					startQuestTimer("SPAWN_RAMONA_MINIONS", 6000, _ramona2, null); | ||||
| 				} | ||||
| 				_lastAction = Chronos.currentTimeMillis(); | ||||
| 				break; | ||||
| 			} | ||||
| 			case RAMONA_2: | ||||
| 			{ | ||||
| 				if ((npc.getId() == RAMONA_2) && (_ramona2.getCurrentHp() <= (_ramona2.getMaxHp() * 0.50))) | ||||
| 				{ | ||||
| 					_ramona2.deleteMe(); | ||||
| 					startQuestTimer("SPAWN_RAMONA3", 1000, null, null); | ||||
| 					startQuestTimer("SPAWN_RAMONA_MINIONS_1", 6000, _ramona3, null); | ||||
| 				} | ||||
| 				_lastAction = Chronos.currentTimeMillis(); | ||||
| 				break; | ||||
| 			} | ||||
| @@ -522,19 +534,7 @@ public class Ramona extends AbstractNpcAI | ||||
| 						door.closeMe(); | ||||
| 					} | ||||
| 				}); | ||||
| 				startQuestTimer("SPAWN_RAMONA_1", 10000, npc, null); | ||||
| 				break; | ||||
| 			} | ||||
| 			case RAMONA_1: | ||||
| 			{ | ||||
| 				startQuestTimer("SPAWN_RAMONA2", 1000, null, null); | ||||
| 				startQuestTimer("SPAWN_RAMONA_MINIONS", 6000, _ramona2, null); | ||||
| 				break; | ||||
| 			} | ||||
| 			case RAMONA_2: | ||||
| 			{ | ||||
| 				startQuestTimer("SPAWN_RAMONA3", 1000, null, null); | ||||
| 				startQuestTimer("SPAWN_RAMONA_MINIONS_1", 6000, _ramona3, null); | ||||
| 				startQuestTimer("SPAWN_RAMONA_1", 6000, npc, null); | ||||
| 				break; | ||||
| 			} | ||||
| 			case RAMONA_3: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment