DragonDice

Check-in [2099052886]
Login

Check-in [2099052886]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Corrected spelling mistake in XML deserialization of CustomStatLayer
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 20990528860b655b36e0db45ce58ad1d519b677ba5eae195d89e64b1fe4bde09
User & Date: murphy 2020-04-28 22:30:40.000
Context
2020-04-28
22:31
Command to show the proficiency bonus check-in: d5d4231cd7 user: murphy tags: trunk
22:30
Corrected spelling mistake in XML deserialization of CustomStatLayer check-in: 2099052886 user: murphy tags: trunk
22:25
Commands to edit numeric character stats check-in: 1d65c572e3 user: murphy tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to DragonDice/CustomStatLayer.fs.
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
      for it in element.Descendants(XNamespace.None + "MaxHitPoints") do
      select (int <| it.Value.Trim())
      exactlyOneOrDefault
    }
    
    this.Speeds <- query {
      for it in element.Descendants(XNamespace.None + "Speed") do
      select (Speed.ofString <| it.Attribute(XNamespace.None + "name").Value, int(it.Value.Trim()) * 1<ft/rnd>)
    } |> EnumMap

    this.Abilities <- query {
      for it in element.Descendants(XNamespace.None + "Ability") do
      select (Ability.ofString <| it.Attribute(XNamespace.None + "Name").Value, int(it.Value.Trim()))
    } |> EnumMap
    







|







65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
      for it in element.Descendants(XNamespace.None + "MaxHitPoints") do
      select (int <| it.Value.Trim())
      exactlyOneOrDefault
    }
    
    this.Speeds <- query {
      for it in element.Descendants(XNamespace.None + "Speed") do
      select (Speed.ofString <| it.Attribute(XNamespace.None + "Name").Value, int(it.Value.Trim()) * 1<ft/rnd>)
    } |> EnumMap

    this.Abilities <- query {
      for it in element.Descendants(XNamespace.None + "Ability") do
      select (Ability.ofString <| it.Attribute(XNamespace.None + "Name").Value, int(it.Value.Trim()))
    } |> EnumMap