Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Deducting variables from other variables.

$
0
0
To create a combat system I want to be able to have both the opponents agility stat and the player's agility stat influence the hit chance. What I tried was deducting them from eachother in this manner
<<set $hitchance to $Agility - $OppAgility>>

However that doesn't seem to work. Is it possible at all to deduct one variable from another?

Viewing all articles
Browse latest Browse all 1844

Trending Articles