Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved card0 check to config & Flux lib #194

Closed
wants to merge 1 commit into from

Commits on Jun 20, 2018

  1. Moved card0 check to config & Flux lib

    * Fixed rathena#190
    * The card0 values are defined in config file (application.php) in `ItemSpecial`. By default, using rAthena's card0 values.
    * The usage will be `Flux::itemIsSpecial($item)`. Returns `true` if item's card0 is special, `false` otherwise
    * For control checking (ifs) for item is forged
      * `if ($item->card0 == $this->itemIsForged)`
      * `if ($item->card0 == $this->itemIsCreation)`
      * `if ($item->card0 == $this->itemIsPetEgg)`
    cydh committed Jun 20, 2018
    Configuration menu
    Copy the full SHA
    80e2bc4 View commit details
    Browse the repository at this point in the history