Git Product home page Git Product logo

angular-tavern's Introduction

angular-tavern

Edit on StackBlitz ⚡️


Dev Notes (to be removed later!)

ActionMenu

  • Hunt
  • Upgrade
  • End Day (Day +1, Restore all AP and recover stats)

HuntArea

  • Woodrock Plains (Lv 1 - 10) [+25 ~ 50 Fatigue]
  • Sleepy Forest (Lv 11 - 20) [+30 ~ 60 Fatigue]
  • Abandoned Tower (Lv 21 - 30) [+50 ~ 100 Fatigue]

HeroClass

  • Fighter
    • Justice [++++Health]
    • Faith [+++Health, +Arcana]
  • Assassin
    • Shadow Master [++++Fatigue]
    • Stormbringer [+++Fatigue, +Arcana]
  • Arcanist
    • Prodigy [++++Arcana]
    • Illusionist [+Health, +++Arcana]
    • Mercy [++Health, +Fatigue, +Arcana]

HeroStat []Hero_1

  • Name
  • Level
  • Class
  • Spc (specialization)
  • maxHealth
  • curHealth
  • maxArcana
  • curArcana
  • maxFatigue
  • curFatigue

RecoveryAction (used in between hunts)

  • Meditate (-4 AP, -50% Fatigue)
  • Mend (-50 Arcana, -50% Fatigue, +1 AP)
  • Scout (+25 Fatigue, Reduces damage taken by 30% and fatigue gained by 50% for the next encounter)
  • Preparation (-25 Arcana, Reduces damage taken by 20% and arcana spent by 50% for the next encounter)

TavernStat

  • Gold
  • Food
  • Popularity = Customers (/ Time Unit, maybe hour)
  • PatronWealth
  • GoldIncome = Popularity * Patron Wealth
  • FoodUpkeep = Popularity * (3 * Patron Wealth)

TavernUpgrade

  • Upgrade Tavern (++Popularity, +Patron Wealth, Unlocks building upgrades)
  • Build Bath House (+++Popularity, ++Patron Wealth) -> Upgrade to Hot Spring (++++Popularity, ++Patron Wealth)
  • Build Stable (+++Popularity, +Patron Wealth)
  • The rest, look at Miro

Assumptions: Tavern Maintenance is free except for food upkeep.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.