Fixed var replacing bug

Vars are know replaced in bbcode method which has been made not static
since it now depends on card name
Merge remote-tracking branch 'origin/jon_dev'