Snarg   02-23-2015, 01:12 AM
#6
(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.. :)

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
  
Users browsing this thread: 1 Guest(s)
Konloch Software - Bytecode Viewer - Hack Log - Reverse Engineering Forum
Copyright © 2014-2026 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.