Mình thề là mình còn lệ thuộc vào ExortKit - TopicsExpress



          

Mình thề là mình còn lệ thuộc vào ExortKit thì mình sẽ ko up spells lên hive nữa :( P/s: Ashton Lu → tẩy chay ExortKit :v Trích 1 comment :v Not really very good. Much can be improved, in current state its unacceptable. At first, and foremost: make it independant of ExortKit. Its bad design to make script requiring some random pack of functions which share names with multiple popular libraries api which handle such operations better and more convenient than your wierd lib. Struct fields and global variables count can definitely be reduced. Your approach can also use some improvements. Merge conditions and actions -> apply whole expression via conditions, it is a common way to script spells and it has been for years now. GetUnitState(this.target, UNIT_STATE_LIFE) > 0 into GetWidgetLife(target) > 0.405 . Drop UnitDamageTargetBJ for native instead. Code is unreadable, escpecially because of this spam. You could place functions into struct as static methods - when this has been defined, it will be automatically included before each of struct fields greatly improving readability. Use one global timer instead of your triggers/evaluations/periodic event. Uhh..
Posted on: Tue, 22 Jul 2014 12:10:19 +0000

Trending Topics



Recently Viewed Topics




© 2015