Ticket #1487: some_stupid_solution.diff
File some_stupid_solution.diff, 465 bytes (added by , 8 years ago) |
---|
-
Attack.js
238 238 if (heightDiff > this.GetRange(type).max) 239 239 continue; 240 240 241 if (MatchesClassList(targetClasses, "Ship") && !MatchesClassList(this.GetClassesList(), "SeaCreatures")) 242 return false; 243 241 244 let restrictedClasses = this.GetRestrictedClasses(type); 242 245 if (!restrictedClasses.length) 243 246 return true;