summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-01 16:58:45 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-01 16:58:45 -0300
commitb3885692b9becb3bc43afd5d3f53b6dbcb5c4283 (patch)
treebee8ed172cd93835bd6156f4adfa4ca258b96951 /npc/functions
parent94fa343212d99cd6614270e37695ac6837eea605 (diff)
downloadserverdata-b3885692b9becb3bc43afd5d3f53b6dbcb5c4283.tar.gz
serverdata-b3885692b9becb3bc43afd5d3f53b6dbcb5c4283.tar.bz2
serverdata-b3885692b9becb3bc43afd5d3f53b6dbcb5c4283.tar.xz
serverdata-b3885692b9becb3bc43afd5d3f53b6dbcb5c4283.zip
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.)
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;