Now I'm back to where I can use x64 windows and I upgraded to v1.7.0. The problem is my macro stopped working.
And I have no idea why.
This macro is for testing attribute scores. The <---- is just for explaining what the macro is doing, since most of it is in Portuguese, and it is not part of the macro.
Code: Select all
[h:teste = 3d6] <----- rolls 3d6
[h: x=input(
"ModificadorAtrib| 0 | Modificador do Teste" <----- asks for an attribute modifier
)]
[h:abort(x)]
[h: Atributo = macro.args] <---- defines base attribute as macro.args
[h: AtributoEfetivo = (Atributo+ModificadorAtrib)] <-------- defines the modified attribute value
Teste contra [Atributo] com modificador de [ModificadorAtrib].<be> <-------- just text to print in chat telling the player what is happening
Valor modificado de [AtributoEfetivo].<br>
Jogada de [r:teste].<br>
[r, if (teste > AtributoEfetivo || teste >=17): evalMacro('[MACRO("TesteAtributoFalha@Lib:GURPSNOH"): "AtributoEfetivoEnviado="+AtributoEfetivo+"; TesteEnviado="+teste]')] <------ here is the problem. This should determine if the macro for failure tests be called upon.
[r, if (teste <= AtributoEfetivo): evalMacro('[MACRO("TesteAtributoSucesso@Lib:GURPSNOH"): "AtributoEfetivoEnviado="+AtributoEfetivo+"; TesteEnviado="+teste]')] <------ and this macro should be called if the test is successfull.
So, which is the new way of doing it in 1.7.0?