When a token gains initiative, I want it to check that token for a specific state. If that state is active ("1") on the token that has initiative, I then want the macro to call another macro stored on the Lib:Token with the token that has initiative as the focus.
Code: Select all
[h:nextInitiative()]
[h:InitToken=getInitiativeToken()]
[h,token(InitToken),code:{
[h,if(getState("Dying")==1),code:{
[token(InitToken),macro("setDeathSaves@Lib:Token"):""]
}]
}]