diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/018-7-1/demure.txt | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/npc/018-7-1/demure.txt b/npc/018-7-1/demure.txt index aaee73efc..0cf6f8bec 100644 --- a/npc/018-7-1/demure.txt +++ b/npc/018-7-1/demure.txt @@ -178,8 +178,16 @@ OnDem1: .@m=monster(.@m$, 87, 57, strmobinfo(1, DemureSecondForm), DemureSecondForm, 1, strnpcinfo(NPC_NAME_UNIQUE)+"::OnDem2"); if (@d_count) { .@p=getunitdata(.@m, UDT_MAXHP); - setunitdata(.@m, UDT_MAXHP, .@p*@d_count*@d_mode3); - setunitdata(.@m, UDT_HP, .@p*@d_count*@d_mode3); + // If player is solo'ing, put more ATK and less HP + .@hp=.@p*@d_count*@d_mode3; + if (@d_mode1 == MODE_SOLO) { + .@hp = .@hp * 2 / 3; + // Raise ASPD based on difficulty + setunitdata(.@m, UDT_ADELAY, + getunitdata(.@m, UDT_ADELAY) - (@d_mode3 * 25)); + } + setunitdata(.@m, UDT_MAXHP, .@hp); + setunitdata(.@m, UDT_HP, .@hp); } mapannounce(getmap(), .@n$+"I'll leave a 2x2 black square where you used to be!", bc_map | bc_pc); end; |