Fixes casting checks
This commit is contained in:
parent
7ea00fbf4f
commit
03dd5f1926
431 changed files with 5616 additions and 6250 deletions
|
|
@ -36,7 +36,7 @@ namespace Server.Spells.Fifth
|
|||
if ( !base.CheckCast() )
|
||||
return false;
|
||||
|
||||
if( (Caster.Followers + (Core.SE ? 2 : 1)) > Caster.FollowersMax )
|
||||
if ( (Caster.Followers + (Core.SE ? 2 : 1)) > Caster.FollowersMax )
|
||||
{
|
||||
Caster.SendLocalizedMessage( 1049645 ); // You have too many followers to summon that creature.
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ namespace Server.Spells.Fifth
|
|||
|
||||
int timeVal = ((6 * Caster.Skills.Magery.Fixed) / 50) + 1;
|
||||
|
||||
if( timeVal > 144 )
|
||||
if ( timeVal > 144 )
|
||||
timeVal = 144;
|
||||
|
||||
TimeSpan length = TimeSpan.FromSeconds( timeVal );
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ namespace Server.Spells.Fifth
|
|||
{
|
||||
int secs = (int)((GetDamageSkill( Caster ) / 10) - (GetResistSkill( m ) / 10));
|
||||
|
||||
if( !Core.SE )
|
||||
if ( !Core.SE )
|
||||
secs += 2;
|
||||
|
||||
if ( !m.Player )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue