Aztaroth
Member
Hi, i need help with this error in Vampire quest:
Errors:
+ Custom/CustomQuests/VampireQuest/VampQuest Arti's/Mid level artis/noammobas
anged.cs:
CS0019: Line 32: Não é possível aplicar o operador '+' a operandos do tipo
long' e 'System.TimeSpan'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
The code of noammobaseranged.cs is:
Errors:
+ Custom/CustomQuests/VampireQuest/VampQuest Arti's/Mid level artis/noammobas
anged.cs:
CS0019: Line 32: Não é possível aplicar o operador '+' a operandos do tipo
long' e 'System.TimeSpan'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
The code of noammobaseranged.cs is:
Code:
if ( DateTime.Now > (attacker.LastMoveTime + TimeSpan.FromSeconds(0.0 )) || (Core.AOS && WeaponAbility.GetCurrentAbility( attacker ) is MovingShot) )
{
if ( attacker.HarmfulCheck( defender ) )
{
attacker.DisruptiveAction();
attacker.Send( new Swing( 0, attacker, defender ) );
if ( OnFired( attacker, defender ) )
{
if ( CheckHit( attacker, defender ) )
OnHit( attacker, defender );
else
OnMiss( attacker, defender );
}
}
return GetDelay( attacker );
}