MaddDreamer Posted April 27, 2017 Author Share Posted April 27, 2017 So finally time to work on it and after reading what you said about hit events, and my current lack of wanting to explore states, I looked intoother ways to get the same result. I now have it attached to an enchantment but I still cant get it to work. when I compile it there are no errors reported but when I test, sigh... nothing Scriptname HitChanceTest extends MagicEffect {Hit chance enchant}int Property HitChance AutoEvent OnEffectStart(Actor AkTarget, Actor akCaster) akCaster(int HitChance = Utility.RandomInt (1,20)) if HitChance <= 10 Debug.Notification("Miss!") elseif HitChance >= 11 Debug.Notification("Hit!") endifEndEvent Link to comment Share on other sites More sharing options...
Recommended Posts