diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-01-14 14:35:27 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-01-14 14:35:27 -0300 |
commit | b68104ec4ead494cd2e7154a86f01de03398c879 (patch) | |
tree | 763b42a52cefa3433eabcfae213615fd530920d4 /npc/001-14 | |
parent | 3c6609c0897f775af899d3c934ec294f4ec36e04 (diff) | |
download | serverdata-b68104ec4ead494cd2e7154a86f01de03398c879.tar.gz serverdata-b68104ec4ead494cd2e7154a86f01de03398c879.tar.bz2 serverdata-b68104ec4ead494cd2e7154a86f01de03398c879.tar.xz serverdata-b68104ec4ead494cd2e7154a86f01de03398c879.zip |
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.
Diffstat (limited to 'npc/001-14')
-rw-r--r-- | npc/001-14/ctrl.txt | 16 |
1 files changed, 13 insertions, 3 deletions
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 && |