diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-08-04 02:02:00 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-08-04 02:02:00 -0300 |
commit | 4fa51c37609366fba2a79ea01ff05ca16fcf7ff9 (patch) | |
tree | 83e5922a0313f4725dd7083f95d71388d55a5848 /npc/018-7-1 | |
parent | 1f4a198e09646feed6bf764260c32077af42fd20 (diff) | |
download | serverdata-4fa51c37609366fba2a79ea01ff05ca16fcf7ff9.tar.gz serverdata-4fa51c37609366fba2a79ea01ff05ca16fcf7ff9.tar.bz2 serverdata-4fa51c37609366fba2a79ea01ff05ca16fcf7ff9.tar.xz serverdata-4fa51c37609366fba2a79ea01ff05ca16fcf7ff9.zip |
When solo'ing, Demure's Second Form needs more ASPD than HP
Diffstat (limited to 'npc/018-7-1')
-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; |