Results 1 to 4 of 4

Thread: Some tarot cards not functioning correctly?

Threaded View

  1. #4
    Join Date
    Jul 2005
    Posts
    20

    Default

    To be honest they aren't exactly observations from in-game... I didn't notice these until I started browsing the code myself either (I frequently used Double Time Bonus and Greed without noticing). I did confirm them in-game.

    The fixes would be just a few lines of change. For example, in Game.lua

    -- time bonus (Golden Cards last 10 seconds longer)
    if Game.CardsSelected[cards[11].index] then
    self.GoldenEnableTime = self.GoldenEnableTime + 10
    end

    -- double time bonus (Golden Cards last 20 seconds longer)
    if Game.CardsSelected[cards[12].index] then
    --self.GoldenEnableTime = self.GoldenEnableTime + 20
    end
    to

    -- double time bonus (Golden Cards last 20 seconds longer)
    if Game.CardsSelected[cards[12].index] then
    self.GoldenEnableTime = self.GoldenEnableTime + 20
    else
    -- time bonus (Golden Cards last 10 seconds longer)
    if Game.CardsSelected[cards[11].index] then
    self.GoldenEnableTime = self.GoldenEnableTime + 10
    end
    end
    and in CActor.lua

    if Game.StealHealth then
    to

    if Game.StealHealth and Player.Health < 250 then
    I'm still baffled at Greed though. As you said the lines for adding gold are right next to each other, which makes it look like it's really intended to work like this. Ah well, greed is evil I guess.
    Last edited by Boksha; 08-01-2005 at 09:07 AM.

Bookmarks

Posting Permissions

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