Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add Human failure to the bot
#7
(02-23-2015, 01:12 AM)Snarg Wrote:  
(02-22-2015, 10:50 PM)brunongmacho Wrote:  ok then.. here's an idea/logic for that.. using case: and using random to pick what case of attack to use.. i think this would be a good random attacks for that.. Smile

Kind of like this, right?

Code:
Func Attack_Select ()
  $Attack_Type = Random (1, 4, 1)
    Select
      Case $Attack_Type = 1
        Attack1 ()
      Case $Attack_Type = 2
        Attack2 ()
      Case $Attack_Type = 3
        Attack3 ()
      Case $Attack_Type = 4
        Attack4 ()
     EndSelect
EndFunc

yep it would be like that.. and it would have like bottom to top, top to bottom, left to right, right to left.
Reply
 


Messages In This Thread
Add Human failure to the bot - by FameForAim - 02-22-2015, 07:12 AM
RE: Add Human failure to the bot - by Snarg - 02-22-2015, 07:20 AM
RE: Add Human failure to the bot - by FameForAim - 02-22-2015, 10:18 AM
RE: Add Human failure to the bot - by Snarg - 02-23-2015, 01:12 AM
RE: Add Human failure to the bot - by brunongmacho - 02-23-2015, 06:04 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)

About The Bytecode Club

We're a community forum focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website