Skip to content

recnaleerf/gbf-numbers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Granblue Fantasy Numerical HP Display

This extension for Chrome provides a numerical display for the HP of enemies in the mobile game Granblue Fantasy. It is displayed above the regular HP bars that are shown in the game.

Of course, this only works if you are playing the game from within the browser with the developer tools console open. It will not work on mobile, as mobile Chrome does not support developer tools or extensions, nor if you are playing with the Chrome app.

Installation

You can grab a packed version of this extension from the releases tab. Drag it into the extensions page of Chrome to install. Due to security settings in Chrome, the extension will be disabled every time you restart Chrome.

If you prefer, you can also download a ZIP of this repo, unzip it, enable developer mode on the extensions page, hit "Load unpacked extension...", and find the directory you unzipped it to. Instead of being disabled, there will just be a warning popup every time Chrome is started.

If this annoys you, pay me $5 so that I can publish this to the Chrome Web Store. Goddammit Google.

How to Play with Developer Tools

  1. Open Chrome and press F12 on your keyboard. Alternatively, open the Chrome menu and go to More tools -> Developer tools. This will open a new section.
  2. If you do not see white bars around the webpage with some numbers at the top, in the new section that's opened, click the smartphone icon in the top left.
  3. Navigate to http://gbf.game.mbga.jp/ in this tab. Resize the window as needed as the contents will fill the window.

Alternatively, with the new PC browser version, you can skip step 2. If the white bars are shown, click the smartphone icon to disable device mode and navigate to http://game.granbluefantasy.jp/ instead.

Limitations

  • The display for a certain enemy will only update whenever you perform an action that affects the HP of that same enemy. As such, in a multibattle, even though the HP bar is changing when you're not doing anything, the numerical display will not change. Similarly, if there are multiple enemies in a multibattle, if you only attack Enemy A, Enemy B's numerical display will not change even if others are hitting that one. This is due to the way multibattle communication is implemented by the game and there is no way to access that network traffic with the Chrome extension API at this time.
    • Additionally, in a multi-enemy multibattle, if the enemy that you haven't been attacking dies, the HP display will probably stay floating there until you refresh the page.
  • The HP display will appear before the actual HP bars appear at the start of a battle. They will also be displayed even when a summon animation is playing. They will disappear before the HP bar disappears when an enemy dies. I don't think there's any way to fix this.

About

Granblue Fantasy Numerical HP Display

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 76.5%
  • CSS 18.6%
  • HTML 4.9%