mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-26 08:43:30 +00:00
Format some code
This commit is contained in:
parent
c780fb7934
commit
01dfebf681
@ -6,7 +6,7 @@ import emu.grasscutter.game.ability.Ability;
|
|||||||
import emu.grasscutter.game.entity.GameEntity;
|
import emu.grasscutter.game.entity.GameEntity;
|
||||||
|
|
||||||
@AbilityAction(AbilityModifierAction.Type.KillSelf)
|
@AbilityAction(AbilityModifierAction.Type.KillSelf)
|
||||||
public class ActionKillSelf extends AbilityActionHandler {
|
public final class ActionKillSelf extends AbilityActionHandler {
|
||||||
@Override
|
@Override
|
||||||
public boolean execute(
|
public boolean execute(
|
||||||
Ability ability, AbilityModifierAction action, ByteString abilityData, GameEntity target) {
|
Ability ability, AbilityModifierAction action, ByteString abilityData, GameEntity target) {
|
||||||
|
@ -8,7 +8,7 @@ import emu.grasscutter.game.entity.GameEntity;
|
|||||||
import emu.grasscutter.game.props.FightProperty;
|
import emu.grasscutter.game.props.FightProperty;
|
||||||
|
|
||||||
@AbilityAction(AbilityModifierAction.Type.LoseHP)
|
@AbilityAction(AbilityModifierAction.Type.LoseHP)
|
||||||
public class ActionLoseHP extends AbilityActionHandler {
|
public final class ActionLoseHP extends AbilityActionHandler {
|
||||||
@Override
|
@Override
|
||||||
public boolean execute(
|
public boolean execute(
|
||||||
Ability ability, AbilityModifierAction action, ByteString abilityData, GameEntity target) {
|
Ability ability, AbilityModifierAction action, ByteString abilityData, GameEntity target) {
|
||||||
|
Loading…
Reference in New Issue
Block a user