SongHyeKyo   02-09-2015, 10:20 PM
#58
(02-09-2015, 10:04 PM)Sexagrim Wrote: Can I Slow down the troop deployment in v5.5.1.1?

Yup! go to folder Attack Algorithms > edit script algorithm_AllTroops
Code:
algorithmTH()
         if LauchTroop($eGiant, $nbSides, 1, 1, 1) Then
            If _Sleep(400) Then Return
               EndIf
         if LauchTroop($eBarbarian, $nbSides, 1, 2) Then
            If _Sleep(400) Then Return
               EndIf
         if LauchTroop($eArcher, $nbSides, 1, 2) Then
            If _Sleep(100) Then Return
               EndIf
         If LauchTroop($eBarbarian, $nbSides, 2, 2) Then
            If _Sleep(200) Then Return
            EndIf
         if LauchTroop($eWallbreaker, $nbSides, 1, 1, 1) Then
            If _Sleep(50) Then Return
               EndIf
         If LauchTroop($eGoblin, $nbSides, 1, 2) Then
            If _Sleep(50) Then Return
               EndIf
         If LauchTroop($eArcher, $nbSides, 2, 2) Then
            If _Sleep(50) Then Return
               EndIf
         If LauchTroop($eGoblin, $nbSides, 2, 2) Then
            If _Sleep(50) Then Return
               EndIf

change the if sleep number > the lowest is the fastest / the highest is the slower

just experiment you want ..

Take delight in the LORD, and he will give you the desires of your heart - Psalm 37:4
  
Users browsing this thread: 1 Guest(s)
Konloch Software - Bytecode Viewer - Reverse Engineering Forum
Copyright © 2014-2025 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.