Skip to content

Conversation

@Emistry
Copy link
Member

@Emistry Emistry commented Jul 30, 2019

Pull Request Prelude

Changes Proposed

  • allow player to revive themselves if their inventory consists of any type of siegfried tokens.
  • support the following siegfried tokens:
    ITMCHAIN_SIEGFRIED: {
    Token_Of_Siegfried: 1
    F_Token_Of_Siegfried: 1
    E_Token_Of_Siegfried: 1
    }

Issues addressed:
Currently, if players has any of these siegfried token, only 7621 can be used to revive the players, the rest of the siegfried tokens will only enable the client to show the resurrection button but doesn't revive the players if clicked.

Known Issue:
I have no idea in what order of these tokens are consumed in official server. If the players have multiple different tokens, which shall be consumed first?
If anyone know, kindly let me know, so that I could update it.

@Emistry Emistry added type:bug Issue is a bug or describes an incorrect behavior that should be fixed component:core Affecting the Hercules core (i.e. not the game mechanics directly) status:confirmed Issue is valid and can be reproduced labels Jul 30, 2019
@Emistry Emistry added this to the Match Official Content milestone Jul 30, 2019
@HerculesWSAPI
Copy link
Contributor

This change is Reviewable

@Asheraf
Copy link
Contributor

Asheraf commented Jul 31, 2019

Can't this just be an item_chain group and iterate though it so it can be reused for other items (Emperium G for instance).

@4144
Copy link
Contributor

4144 commented Jul 31, 2019

normally need dehardcode all item ids. but this probably bit complex. but yes may be it time to start at least for some items?

@Emistry Emistry force-pushed the pc_have_siegfried_token branch from 24d3100 to 7063a65 Compare August 4, 2019 15:26
@Emistry
Copy link
Member Author

Emistry commented Aug 4, 2019

I have updated it using the item_chain, but the rate part, i just leave a dummy rate since its not used anywhere.

@Emistry Emistry force-pushed the pc_have_siegfried_token branch 4 times, most recently from fd85783 to 932e987 Compare August 5, 2019 13:24
- allow player to revive if inventory consists of any type of siegfried tokens listed in the `ITMCHAIN_SIEGFRIED`.
@Emistry Emistry force-pushed the pc_have_siegfried_token branch from 932e987 to d3205c2 Compare August 26, 2019 14:29
@MishimaHaruna MishimaHaruna merged commit 863aa75 into HerculesWS:master Sep 22, 2019
@Emistry Emistry deleted the pc_have_siegfried_token branch September 23, 2019 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:core Affecting the Hercules core (i.e. not the game mechanics directly) status:confirmed Issue is valid and can be reproduced type:bug Issue is a bug or describes an incorrect behavior that should be fixed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants