Kroah's Game Reverse Engineering Page

 

~ Alternate Reality ~

You are here:  
  • Home
    • »  Alternate Reality
      • »  Reverse Engineering
        • »  Establishments
          • »  Healers

Healers

Healer Establishment
  1. Opening Hours

    HealerOpening Hours
    One Way SoothersOpened at odd hours
    Alpha Omega HealersOpened at even hours

    Both healers aren't opened simultaneously.

  2. Services

    /!\ Both healers are independant. So, each healer has its own values for 'm' and the date of the previous given service.

    Healers offers several services for different prices:

    ServicePrice (in coppers)Description
    CategoryTypeBaseTime elapsed since the previous service from the same healer (*)
    At least 1 day
    (base price x1)
    Less than 1 day
    (base price x2)
    Less than 1 hour
    (base price x4)
    Less than 2 minutes
    (base price x8)
    HealMinor Wounds55102040Restores 1 to 7 hit points.
    Wounds1010204080Restores 2 to 9 hit points.
    Major Wounds20204080160Restores 3 to 11 hit points.
    CleanseCleanse Poisons100100200400800Cures poisons (in incubation or not).
    Cure Diseases2002004008001600Cures diseases (in incubation or not).
    Remove Alcohol (**)20 * 2^m20 * 2^m40 * 2^m80 * 2^m160 * 2^mCures inebriation. Clears alcohol blood and intestine concentration, digestion rate and blackouts.
    Remove DelusionsRestore Clarity2002004008001600Removes delusion, restores clarity and diagnoses.
    DiagnoseDiagnose Disease1010204080Shows all diseases (in incubation or not) in the ailments status screen.

    (*) The formula to compute the price is:

    • price = base price * 2^n

    Where 'n' is equal to 0 increased by one or more of the following cases:

    • +0 if the previous service has been done another day (A).
    • +1 if the previous service has been done the same day (B).
    • +1 if the previous service has been done the same hour (C).
    • +1 if the previous service has been done the same minute or the same next minute (D).

    With this algorithm, strange results may appear because (B), (C) and (D) can happen simultaneously. For example:

    • The character comes next hour, at the same minute: n=2 because of (B) and (D), instead of the logical result of n=1 for (B).
    • The character comes several days later, at the same hour: n=1 because of (A) and (C), instead of the logical result of n=0 (A).

    The prices given above don't take into account those strange behaviors. (B), (C) and (D) can't happen simultaneously.

    The fixed algorithm should check:

    • Minutes (D) if it's the same day (B) and the same hour (C).
    • Hours (C) if it's the same day (B).

    This would give the following values for 'n':

    • n=0 if the previous service has been done another day (A).
    • n=1 if the previous service has been done the same day (B).
    • n=2 if the previous service has been done the same hour (C).
    • n=3 if the previous service has been done the same minute or the same next minute (D).

    (**) 'm' is the number of times the healer has removed alcohol. The base price to remove alcohol doubles each time the service is done.

Visitors visitors since 05/01/2006. Sitemap
Copyright © 2006-2016 by Kroah. Total or partial reproduction forbidden.
All trademarks and copyrights are the property of their respective owners. All rights reserved.
Email Me      Get Firefox Powered by PHPEdit      Valid XHTML 1.1 Valid CSS