[Patch] Shadow Strike

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

[Patch] Shadow Strike

Postby Centurio » Wed Jul 13, 2011 1:14 pm

Here a Patch for Shadow Strike ability, with Sql also.

UPDATE: I checked on live, and , as you say, the target can move while we cast a shadow strike..so fixed
Code: Select all
REPLACE INTO `Ability` (`Ability_ID`, `KeyName`, `Name`, `Description`, `IconID`, `Implementation`) VALUES ('96', 'Shadow Strike', 'Shadow Strike', 'The Assassin takes 10 seconds to disappear in the shadows. Once in the shadows the Assassin will automatically teleport to and perform perforate artery to any enemy they choose within 1000 radius. This ability cannot be used to enter a locked keep or tower.', '3072', 'DOL.GS.SkillHandler.ShadowStrikeAbilityHandler')
Code: Select all
INSERT INTO `Spell` (`Spell_ID`, `SpellID`, `ClientEffect`, `Icon`, `Name`, `Description`, `Target`, `Range`, `Power`, `CastTime`, `Damage`, `DamageType`, `Type`, `Duration`, `Frequency`, `Pulse`, `PulsePower`, `Radius`, `RecastDelay`, `ResurrectHealth`, `ResurrectMana`, `Value`, `Concentration`, `LifeDrainReturn`, `AmnesiaChance`, `Message1`, `Message2`, `Message3`, `Message4`, `InstrumentRequirement`, `SpellGroup`, `EffectGroup`, `SubSpellID`, `MoveCast`, `Uninterruptible`, `IsFocus`, `SharedTimerGroup`, `IsPrimary`, `IsSecondary`, `AllowBolt`, `PackageID`) VALUES ('799a5d37-5d6e-4e9b-af2d-a29481337fe8', '90100', '7073', '7073', 'Shadow Strike', 'Shadow Strike', 'Enemy', '1000', '0', '10', '0', '0', 'ShadowStrike', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '', '', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '')
Attachments
ShadowStrikePatch.patch
Update
(8.17 KiB) Downloaded 42 times
Last edited by Centurio on Thu Jul 14, 2011 9:24 pm, edited 3 times in total.
Heavy metal is The law
User avatar
Centurio
DOL Acolyte
 
Posts: 142
Joined: Tue Feb 13, 2007 10:51 pm
Website: http://www.myspace.com/pagandio

Re: [Patch] Shadow Strike

Postby Graveen » Wed Jul 13, 2011 1:50 pm

Thabnk you Centurio !!!
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: [Patch] Shadow Strike

Postby Etaew » Wed Jul 13, 2011 2:03 pm

Regarding can't be used to enter a locked keep or tower, would a targetinview check be prudent?
Retired DOL Enthusiast | Blog
User avatar
Etaew
Inactive Staff Member
 
Posts: 7602
Joined: Mon Oct 13, 2003 5:04 pm
Website: http://etaew.net
Location: England

Re: [Patch] Shadow Strike

Postby geshi » Wed Jul 13, 2011 2:09 pm

Nice!

Are we sure that your target has to be standing still for the ability to work? I'm not sure but I saw some videos of a guy using it on Purga and his targets were moving.
geshi
Contributor
 
Posts: 1826
Joined: Tue Oct 21, 2008 9:16 pm

Re: [Patch] Shadow Strike

Postby Hiatus » Wed Jul 13, 2011 2:15 pm

You can use this while your targets are moving, I remember using it all the time on live like that.
Graveen wrote:If you can't see the problem, then this is the problem :mrgreen:
Hiatus
Support Team
 
Posts: 263
Joined: Sat Apr 30, 2011 3:54 pm

Re: [Patch] Shadow Strike

Postby Etaew » Wed Jul 13, 2011 2:29 pm

How about when you are moving?
Retired DOL Enthusiast | Blog
User avatar
Etaew
Inactive Staff Member
 
Posts: 7602
Joined: Mon Oct 13, 2003 5:04 pm
Website: http://etaew.net
Location: England

Re: [Patch] Shadow Strike

Postby geshi » Wed Jul 13, 2011 2:39 pm

How about when you are moving?
Yeah, can't use it while the caster is moving :)
geshi
Contributor
 
Posts: 1826
Joined: Tue Oct 21, 2008 9:16 pm

Re: [Patch] Shadow Strike

Postby Centurio » Wed Jul 13, 2011 2:40 pm

I remember that Assassinate can be used while target is moving, but Shadow strike not.
I have to re-check on live mmm

About "TargetinView" : I did this ability as Spell, so Targetinview is already done.

---
Edit :
Update : now the style used depends on Critical Strike level..also fixed a problem with Stealthed check.
Heavy metal is The law
User avatar
Centurio
DOL Acolyte
 
Posts: 142
Joined: Tue Feb 13, 2007 10:51 pm
Website: http://www.myspace.com/pagandio


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest