| summaryrefslogtreecommitdiff | 
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2019-09-06 17:44:29 +0200 | 
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2019-09-06 17:44:29 +0200 | 
| commit | 2d859e80c3e034b9f312df2cd9b2e70cd8766655 (patch) | |
| tree | c38bf3fe3c495d0c3fcad280ef2fa659dd8f87c9 /src/shared | |
| parent | b07f636ea1e905f494c57fd2de03e8f36a4d5061 (diff) | |
Quick removal of omnimods from glyph boards.
Diffstat (limited to 'src/shared')
| -rw-r--r-- | src/shared/battle-characters/BattleCharacters/Struct/GlyphBoard.elm | 13 | 
1 files changed, 3 insertions, 10 deletions
| diff --git a/src/shared/battle-characters/BattleCharacters/Struct/GlyphBoard.elm b/src/shared/battle-characters/BattleCharacters/Struct/GlyphBoard.elm index e8fa0f6..a8373e7 100644 --- a/src/shared/battle-characters/BattleCharacters/Struct/GlyphBoard.elm +++ b/src/shared/battle-characters/BattleCharacters/Struct/GlyphBoard.elm @@ -6,7 +6,6 @@ module BattleCharacters.Struct.GlyphBoard exposing        get_name,        get_id,        get_slots, -      get_omnimods,        get_omnimods_with_glyphs,        decoder,        none, @@ -36,8 +35,7 @@ type alias Type =     {        id : String,        name : String, -      slots : (List Int), -      omnimods : Battle.Struct.Omnimods.Type +      slots : (List Int)     }  type alias Ref = String @@ -64,9 +62,6 @@ get_name g = g.name  get_slots : Type -> (List Int)  get_slots  g = g.slots -get_omnimods : Type -> Battle.Struct.Omnimods.Type -get_omnimods g = g.omnimods -  get_omnimods_with_glyphs : (        (Array.Array BattleCharacters.Struct.Glyph.Type) ->        Type -> @@ -75,7 +70,7 @@ get_omnimods_with_glyphs : (  get_omnimods_with_glyphs glyphs board =     (List.foldl        (Battle.Struct.Omnimods.merge) -      board.omnimods +      (Battle.Struct.Omnimods.none)        (List.map2           (Battle.Struct.Omnimods.scale)           (List.map (\e -> ((toFloat e) / 100.0)) board.slots) @@ -95,7 +90,6 @@ decoder =              "slot"              (Json.Decode.list (Json.Decode.int))           ) -      |> (Json.Decode.Pipeline.required "omni" Battle.Struct.Omnimods.decoder)     )  none : Type @@ -103,8 +97,7 @@ none =     {        id = "",        name = "None", -      slots = [], -      omnimods = (Battle.Struct.Omnimods.none) +      slots = []     }  default : Type | 


