View Single Post
  #8  
Old 03-29-2016, 04:51 PM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Code:
sub EVENT_CAST_BEGIN {
	quest::settimer("stopcast", 1);
	
}

sub EVENT_TIMER {
	if ($timer eq "stopcast") {
		$client->InterruptSpell();
		$client->Message(335, "Stop casting..");
		quest::stoptimer("stopcast");
	}
}
One way to get it to work.. but shorter spell cast times might be an issue :p
Reply With Quote