forked from rathena/FluxCP
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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)`
- Loading branch information
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters