| summaryrefslogtreecommitdiff | 
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2018-02-23 22:47:43 +0100 | 
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2018-02-23 22:47:43 +0100 | 
| commit | 96c35eb8c79826fa07d2b00bbac039d9ec95eb3c (patch) | |
| tree | 94d7fef850637be6fd800f139a59d578763ba671 /src/struct/attributes.erl | |
| parent | 959b994bced0863d4b8a984f38f5ac61aa3620e0 (diff) | |
...
Diffstat (limited to 'src/struct/attributes.erl')
| -rw-r--r-- | src/struct/attributes.erl | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/src/struct/attributes.erl b/src/struct/attributes.erl index b4395cb..022cad2 100644 --- a/src/struct/attributes.erl +++ b/src/struct/attributes.erl @@ -54,15 +54,15 @@ get_mind (Att) -> Att#attributes.mind.  get_speed (Att) -> Att#attributes.speed.  get_strength (Att) -> Att#attributes.strength. -set_constitution (Att, Val) -> +set_constitution (Val, Att) ->     Att#attributes{ constitution = Val }. -set_dexterity (Att, Val) -> +set_dexterity (Val, Att) ->     Att#attributes{ dexterity = Val }. -set_intelligence (Att, Val) -> +set_intelligence (Val, Att) ->     Att#attributes{ intelligence = Val }. -set_mind (Att, Val) -> +set_mind (Val, Att) ->     Att#attributes{ mind = Val }. -set_speed (Att, Val) -> +set_speed (Val, Att) ->     Att#attributes{ speed = Val }. -set_strength (Att, Val) -> +set_strength (Val, Att) ->     Att#attributes{ strength = Val }. | 


