Results 1 to 1 of 1

Thread: Magic.scar fixed

  1. #1
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default Magic.scar fixed

    SCAR Code:
    Function SpellsAvailable: TBooleanArray;
    var
      I: Integer;
    begin
      If Not GameTab(Tab_Magic)then
        Exit;

      SetArrayLength(Result, 4);
      For I:=0 to 3 do
       If (GetColor(592+(I*20), 441) = 16711422) then //16777215 OLD COLOR
         Result[I] := True;
    end;

    Function BookSortedBy: Integer;
    begin
      Result := -1;
      If Not GameTab(Tab_Magic)then
        Exit;

      For Result:=0 to 2 do
       If (GetColor(676+(Result*19), 441) = 16711422)then //16777215 OLD COLOR
         Exit;
    end;

    Changed the color in BookSortedBy() and SpellsAvailable().
    Last edited by Bebe; 02-03-2010 at 03:11 PM.
    There used to be something meaningful here.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •