From b68104ec4ead494cd2e7154a86f01de03398c879 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 14 Jan 2022 14:35:27 -0300 Subject: Rebalance the Energy Ball Challenge. They're nigh impossible to really harm with normal weapons. Even with fists you'll have difficulty killing in one hit w/o magic. --- npc/001-14/ctrl.txt | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'npc/001-14') diff --git a/npc/001-14/ctrl.txt b/npc/001-14/ctrl.txt index ab7c035e7..5f1ae2481 100644 --- a/npc/001-14/ctrl.txt +++ b/npc/001-14/ctrl.txt @@ -78,16 +78,26 @@ OnClick: if (gettimetick(2) > @moly_tick) end; @moly_score+=1; .@m=areamonster(@map$, 108, 43, 118, 48, "Target", YellowSpark, 1, "Hocus#MOLY0100::OnClick"); - setunitdata(.@m, UDT_HP, 1); - setunitdata(.@m, UDT_MAXHP, 1); + .@hp=rand2(50, 100); + setunitdata(.@m, UDT_MAXHP, .@hp); + setunitdata(.@m, UDT_HP, .@hp); setunitdata(.@m, UDT_LEVEL, 1); setunitdata(.@m, UDT_SPEED, 60); + setunitdata(.@m, UDT_MODE, MD_CANMOVE); + setunitdata(.@m, UDT_DEF, 32760); + setunitdata(.@m, UDT_MDEF, 0); + setunitdata(.@m, UDT_LUK, 32760); end; OnCheck: if (gettimetick(2) > @moly_tick) end; .@wp = getequipid(EQI_HAND_R); - if (.@wp < 1) addtimer(2000, instance_npcname("Hocus#MOLY0100")+"::OnCheck"); + // Disarmed + if (.@wp < 1) { + addtimer(2000, instance_npcname("Hocus#MOLY0100")+"::OnCheck"); + end; + } + // Illegal weapon if (.@wp != Judgement && .@wp != DarkPulsar && .@wp != Lightbringer && -- cgit v1.2.3-70-g09d2