From b3885692b9becb3bc43afd5d3f53b6dbcb5c4283 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 1 Mar 2021 16:58:45 -0300 Subject: Replace accurate skill. Move old skill as an extra of strong and boost their ASPD. Skill X can cause up to 50% exp bonus from mobs (boss excl.) --- npc/functions/hub.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'npc/functions') 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; -- cgit v1.2.3-60-g2f50