[Ace] XS - stamina System not working

Hi,

It seems I've a compatibility problem between XS - stamina system and Moghunter weather script.

Here's the bug report :



This is the "bugged" line :

 @stamina = (@stamina + value).clamp(0, @max_stamina) if operator == :addHere're the scripts :

MOG_Weather_EX : http://pastebin.com/MhrGe9MB

 XS - Stamina System : http://niclas-thornqvist.se/rpg/scripts/ace/xs-stamina-system.txt

Original thread: https://forums.rpgmakerweb.com/threads/ace-xs-stamina-system-not-working.21827/