diff options
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r-- | npc/functions/hub.txt | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index c449e2904..443b600b5 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -762,6 +762,20 @@ function script HUB_SkillInvoke { GetManaExp(TMW2_METEORSTRIKE, 3); break; /* + //////////////////////////////// + // XXX: Assassinate + // » Assassinate: Instantly kills a monster weaker than you. + // » Assassinated monsters give no experience. + // » You'll be stunned for 3 seconds as a penalty. + // » Does not work on boss. Base Success Chance is 100%. + case TMW2_ASSASSINATE: + .@lv = getunitdata(@skillTarget, UDT_LEVEL); + if ((.@lv+10-@skillLv) < (BaseLevel+(REBIRTH*2)) && filter_notboss(@skillTarget)) + sc_start SC_COMA, 90000, 1, 10000, SCFLAG_NONE, @skillTarget; + else + dispbottom l("Assassination failed - target is stronger than you"); + SC_Bonus(3, SC_STUN, 1); + break; // TODO: Ultimate Skills (T5/0) // Sanctum: AoE resurrection, HP like Resurrect, 30min+ cooldown and @@ -823,13 +837,6 @@ function script HUB_SkillInvoke { break; - // TODO Assassin skill - // Higher chance of success if monster HP+ATK < your own HP - // (Maybe put level on that?) Never works on boss - // Maybe arrow only? - case TMW2_ASSASSINATE: - // SC_COMA TODO - break; case TMW2_SNARE: // 100.00% inflict STUN/SLEEP/whatever |