-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* start of new development iteration * attempt to let the bot login * Updating creature model with a new parameter. * some changes * Fix unittest (empty nodes are not sent anymore). Switching to forked jwiki version. * Got login-in to work. Removed some misspellings in creatures. * Reworked type parameter to templateType to prevent collision with type parameter of Item. Travis adjustment. * Updating to correctly use Springs' dependency injection (resolves bug of logging in multiple times). Changing wiki url. Updating dependencies. * Make the parsing of loot items smarter, since the rarity is sometimes given with uppercase text. * Update jwiki version to 2.0.1 * preparing for release of version 1.3.1
- Loading branch information
1 parent
53c6b55
commit 122a8e8
Showing
69 changed files
with
480 additions
and
217 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
@SuppressWarnings("squid:S00115") | ||
public enum BestiaryLevel { | ||
Harmless, | ||
Trivial, | ||
Easy, | ||
Medium, | ||
|
23 changes: 23 additions & 0 deletions
23
src/main/java/com/tibiawiki/domain/enums/BestiaryOccurrence.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.tibiawiki.domain.enums; | ||
|
||
import com.fasterxml.jackson.annotation.JsonValue; | ||
import com.tibiawiki.domain.interfaces.Description; | ||
|
||
public enum BestiaryOccurrence implements Description { | ||
|
||
COMMON("Common"), | ||
UNCOMMON("Uncommon"), | ||
RARE("Rare"), | ||
VERY_RARE("Very Rare"); | ||
|
||
private String description; | ||
|
||
BestiaryOccurrence(String description) { | ||
this.description = description; | ||
} | ||
|
||
@JsonValue | ||
public String getDescription() { | ||
return description; | ||
} | ||
} |
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
Oops, something went wrong.