User Points Rules: Remove points (based on content type)
Your question seems to be a variation (not a duplicate) of the question "How to grant user User Points equal to certain field&#39;s value / calculated value?".

Similar to the accepted answer to that question, use the Rules module and try to create a rule with these Rules Actions:


Calculate a variable that corresponds to "the integer value entered for the Events content type" (similar to what you wrote in your question).
Convert the data type of that variable (to integer).
Grant points to user (using the calculated + converted variable.


With that, the only thing left to do is to find an appropriate Rules Event to get this rule triggered.

PS: such "convert data type" is simply a matter of how Rules works (by design), so it's not to be considered as a bug either.