#region Attacking
if (attacker.OnSuperman())
if (!pass && attack.AttackType != Attack.Magic) { int milliSeconds = 900 - attacker.Agility - decrease; if (milliSeconds < 0 || milliSeconds > 5000) milliSeconds = 0; if (Time32.Now < attacker.AttackStamp.AddMilliseconds(milliSeconds)) return; attacker.AttackStamp = Time32.Now; }
bool doWep1Spell = false, doWep2Spell = false;
#region Extract attack information
if (!pass && attack.AttackType == Attack.Magic) { if (!(doWep1Spell || doWep2Spell)) { if (SpellID == 11960 || SpellID == 1045 || SpellID == 1046 || SpellID == 11005 || SpellID == 11000 || SpellID == 1100) // FB and SS { //do checks } else { int milliSeconds = 1000 - attacker.Agility - decrease; if (milliSeconds < 0 || milliSeconds > 5000) milliSeconds = 0; if (Time32.Now < attacker.AttackStamp.AddMilliseconds(milliSeconds)) return; } attacker.AttackStamp = Time32.Now; } }