summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-17 05:39:18 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-17 05:39:18 -0300
commit23ac1c5418ceadaabee505d88a3f243c8e1e5305 (patch)
tree82124b9c50dba49b64b94505f71dca52acc282f0 /npc/functions
parent8713b66253e45cd13c86f23103176ec9a7ebf107 (diff)
downloadserverdata-23ac1c5418ceadaabee505d88a3f243c8e1e5305.tar.gz
serverdata-23ac1c5418ceadaabee505d88a3f243c8e1e5305.tar.bz2
serverdata-23ac1c5418ceadaabee505d88a3f243c8e1e5305.tar.xz
serverdata-23ac1c5418ceadaabee505d88a3f243c8e1e5305.zip
[skip ci] First Aid template: Whatever is bigger
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 6b3e3fe66..e58e9f058 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -310,7 +310,8 @@ function script HUB_SkillInvoke {
// TODO: Buffs
case TMW2_FIRSTAID:
// First aid only works on you, so
- heal AdjustSpellpower(100), 0;
+ .@heal=max(AdjustSpellpower(100), AdjustAttackpower(100));
+ heal .@heal, 0;
break;
case TMW2_HEALING:
harm(@skillTarget, -AdjustSpellpower(150), HARM_MISC);