View Single Post
  #1  
Old 07-08-2010, 12:20 AM
Caryatis
Dragon
 
Join Date: May 2009
Location: Milky Way
Posts: 539
Default COMMITTED: SE_InterruptCasting

Kinda minor one but seemed easy to bang out, used in the bard AA Cacophony and some late expansion AEs.

code...
spell effects.cpp - line 2818 - add this
Code:
case SE_InterruptCasting:
spell effects.cpp - line 3288 - add this
Code:
		case SE_InterruptCasting:
		{	
			if(IsCasting())
			{
				if(MakeRandomInt(0, 100) <= spells[spell_id].base[i])
				{
					InterruptSpell();
				}
			}
			break;
		}
Reply With Quote