mirror of
https://github.com/Anime-Game-Servers/Grasscutter-Quests.git
synced 2024-11-26 22:10:26 +00:00
[BUGFIX] fix broken element changes at statues. (#154)
This commit is contained in:
parent
b44e3e503d
commit
b3eaa850ea
@ -1,32 +1,25 @@
|
||||
package emu.grasscutter.data.excels;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import emu.grasscutter.data.GameResource;
|
||||
import emu.grasscutter.data.ResourceType;
|
||||
import emu.grasscutter.game.props.ElementType;
|
||||
import lombok.Getter;
|
||||
|
||||
@ResourceType(name = "WorldAreaConfigData.json")
|
||||
public class WorldAreaData extends GameResource {
|
||||
private int id;
|
||||
private int ID;
|
||||
@Getter @SerializedName("AreaID1")
|
||||
private int areaID1;
|
||||
@Getter @SerializedName("AreaID2")
|
||||
private int areaID2;
|
||||
@Getter @SerializedName("SceneID")
|
||||
private int sceneID;
|
||||
@Getter
|
||||
private ElementType elementType;
|
||||
|
||||
@Override
|
||||
public int getId() {
|
||||
return (this.areaID2 << 16) + this.areaID1;
|
||||
}
|
||||
|
||||
public int getSceneID() {
|
||||
return this.sceneID;
|
||||
}
|
||||
|
||||
public ElementType getElementType() {
|
||||
return this.elementType;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLoad() {
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user