Browse Source

[fixed] string vs integer

Lusticon 6 months ago
parent
commit
b88c5cfd4f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      locations/spell.qsrc

+ 1 - 1
locations/spell.qsrc

@@ -15,7 +15,7 @@
 !	 ARGS[3] = Target party member number
 !	 ARGS[4] = Caster party member number
 
-SuccessValue = $ARGS[1]
+SuccessValue = max(val($ARGS[1]), ARGS[1])
 $SplTxtColGood = 'green'
 $SplTxtColBad = 'red'