fix: Removes the absurb 6 hour skill edge case and fixes target cancellations (#2212)
This commit is contained in:
parent
ea4080ce0e
commit
14bc38e375
5 changed files with 32 additions and 45 deletions
|
|
@ -18,7 +18,7 @@ namespace Server.SkillHandlers
|
|||
src.SendLocalizedMessage(500819); // Where will you search?
|
||||
src.Target = new InternalTarget();
|
||||
|
||||
return TimeSpan.FromSeconds(6.0);
|
||||
return TimeSpan.FromSeconds(30.0);
|
||||
}
|
||||
|
||||
private class InternalTarget : Target
|
||||
|
|
@ -27,6 +27,11 @@ namespace Server.SkillHandlers
|
|||
{
|
||||
}
|
||||
|
||||
protected override void OnTargetCancel(Mobile from, TargetCancelType cancelType)
|
||||
{
|
||||
from.NextSkillTime = Core.TickCount;
|
||||
}
|
||||
|
||||
protected override void OnTarget(Mobile src, object targ)
|
||||
{
|
||||
var foundAnyone = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue