From 2d44a1aab2895e97fbefc19de04d3a4e81d68305 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 20 Feb 2015 15:28:44 +0100 Subject: [PATCH] Update API.md --- API.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/API.md b/API.md index d2efadf..b0c676a 100644 --- a/API.md +++ b/API.md @@ -17,12 +17,13 @@ are true at all times for all players: * Current and maximum mana can never be smaller than 0 * The current value must not be greater than the maximum value +* Only integer numbers are permitted for mana values It should be not possible to break these rules using this API alone. If you somehow manage to break one ofthe rules, please report a bug. -Furthermore, real numbers may be used as values, but it is not -recommended. +If a real number is used as input for a value, it will be rounded +(“round up half” rule). ## Functions Of not specified otherwise, all functions return `nil`.