Page 2 of 2 FirstFirst 1 2
Results 11 to 20 of 20

Thread: corked genie bottle

  1. #11

    Default

    Code:
    --------------------
    9532 magical pony: Shutterfly 837660676 pony5.gif none g,d 5
    # Item magical pony: Shutterfly
    --------------------

  2. #12
    Developer
    Join Date
    Apr 2010
    Posts
    4,060

    Default

    r18209, thanks.

  3. #13
    Developer
    Join Date
    Apr 2010
    Posts
    4,060

    Default

    Added Genie, Scales to 37, No Floor, Cap not yet identified. r18210

  4. #14
    Developer
    Join Date
    Apr 2010
    Posts
    4,060

    Default

    Cap is at 11000. r18211

  5. #15
    Senior Member
    Join Date
    Jan 2009
    Posts
    204

    Default

    There needs to be checks so genie fights don't trigger semi-rare and wanderer counters and all the usual stuff.

  6. #16
    Developer
    Join Date
    Apr 2010
    Posts
    4,060

    Default

    I guess someone tried to do that, does it not work?

    case ItemPool.GENIE_BOTTLE:
    itemName = "genie bottle";
    // Do not ignore special monsters here. That is handled
    // elsewhere, just for the cases that will be a combat.
    break;

  7. #17
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,112

    Default

    The "handled elsewhere" code is not present yet. It was cut-and-paste from the Deck of Many Cards code.
    My expectation was that we'd have GenieBottleRequest.java, by and by, which would recognize when a fight was expected vs. everything else.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  8. #18

    Default

    I think postChoice2 in ChoiceManager can look for the Fight link to handle that? Perhaps postChoice1, or maybe it doesn't matter.

  9. #19
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,112

    Default

    If it you click on a choice, it redirects to fight.php.
    Maybe the methods you mention will suffice.
    Maybe not.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  10. #20

    Default

    I'm not finding anywhere that parses the page when you initially reach choice.php after being redirected from using an item. That would be the most reasonable place to check for "You are using a pocket wish!" or "You have 2 wishes left today." for properly tracking wishes used. I can't tell if I'm overlooking something or if there really has never been a need to parse that before.

Posting Permissions

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