diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-02-14 15:33:55 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-02-14 15:33:55 -0300 |
commit | 2567194d7a32ba02fbdad286e803d8b0fa0393ac (patch) | |
tree | dd104e555629fd1febb107ed3d6c30a19df84f50 | |
parent | 35e52a4a7e02f018f86923fd010b9981896c1647 (diff) | |
download | serverdata-2567194d7a32ba02fbdad286e803d8b0fa0393ac.tar.gz serverdata-2567194d7a32ba02fbdad286e803d8b0fa0393ac.tar.bz2 serverdata-2567194d7a32ba02fbdad286e803d8b0fa0393ac.tar.xz serverdata-2567194d7a32ba02fbdad286e803d8b0fa0393ac.zip |
Lilit jump: Override HP regeneration which ocurr while reading dialog.
-rw-r--r-- | npc/017-1/drowned_man.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/017-1/drowned_man.txt b/npc/017-1/drowned_man.txt index 88e1230ed..14330b8c3 100644 --- a/npc/017-1/drowned_man.txt +++ b/npc/017-1/drowned_man.txt @@ -148,12 +148,15 @@ L_GoodJump: // Weight will be 2000g - so penalty will be 100% HP. .@penalty=max(0, (Weight/20)-1); percentheal -.@penalty, 0; + @finalhp = Hp; // vit/str counts on swimming minigame mesn l("Drowned Man"); mesq l("Good job! I wish you luck, because now you need to SWIM!"); next; closeclientdialog; + setparam(Hp, @finalhp); + @finalhp=0; addtimer(3000, "#01850SwimmingCtrl::OnLoop"); warp "018-5-0", 20, 25; end; |