Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[EUO] Stat fixing macro
#1

I've seen many people lately who'd want to adjust their stats so here's a macro that can be helpful. Set the variables for your desired stats (%targetSTR, %targetDEX and %targetINT) and run it. Do whatever you think gains stats the best and this will take care of adjusting the stat locks for you. Now you can do it afk and don't have to worry about overdoing it and screwing up your stats that way.

Code:
; OzStats 1.0
; Macro for adjusting STR, DEX and INT.
; Just have this running and do something that changes stats.

set #lpc 1000
set %targetSTR 100
set %targetDEX 100
set %targetINT 100

while ( #STR <> %targetSTR || #DEX <> %targetDEX || #INT <> %targetINT )
{
  gosub AdjustStatLocks
}
event sysmessage ++ Stats are ready!
exevent StatLock str locked
exevent StatLock dex locked
exevent StatLock int locked
halt

sub AdjustStatLocks
  if ( #STR = %targetSTR )
    exevent StatLock str locked
  if ( #STR < %targetSTR )
    exevent StatLock str up
  if ( #STR > %targetSTR )
    exevent StatLock str down
    
  if ( #DEX = %targetDEX )
    exevent StatLock dex locked
  if ( #DEX < %targetDEX )
    exevent StatLock dex up
  if ( #DEX > %targetDEX )
    exevent StatLock dex down
    
  if ( #INT = %targetINT )
    exevent StatLock int locked
  if ( #INT < %targetINT )
    exevent StatLock int up
  if ( #INT > %targetINT )
    exevent StatLock int down
return

Might make some more macros for various things. If it's not something overly complicated or unethical, I'll take some requests too.


Forum Jump:


Users browsing this thread: 1 Guest(s)