summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 3d8ab20fb..a216afdde 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -245,8 +245,12 @@ function script HUB_SkillInvoke {
//debugmes "Skill caster %d", @skillCaster;
if (@skillCaster != getcharid(3)) {
switch (@skillId) {
+ case TMW2_SKILLX:
+ sc_start SC_RICHMANKIM, 180000, @skillLv+rand2(9*@skillLv), 10000, SCFLAG_NONE, @skillTarget;
+ gethexp 1;
+ break;
case TMW2_HOMUN_HEAL:
- .@heal=gethominfo(6)*rand2(7, 10);
+ .@heal=gethominfo(6)*(5+rand2(@skillLv));
heal .@heal, 0;
harm(@skillCaster, -.@heal, HARM_MISC);
break;