Skip to content

Commit

Permalink
Fixes #13
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed Dec 16, 2014
1 parent b21c92e commit a85da49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion o8g/Scripts/CardScripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@
-----
d7e770dd-793f-4a53-a404-e3873a762ad1
-----
onPlay:Put1InfluenceMinus-Targeted-atDude-targetOpponents||Put1Rumors-Targeted-atDude-targetOpponents
onPlay:Put1InfluenceMinus-Targeted-atDude-targetOpponents$$Put1Rumors-Targeted-atDude-targetOpponents
+++++
.....
Expand Down
4 changes: 2 additions & 2 deletions o8g/Scripts/autoscripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def executePlayScripts(card, action):
scriptHostCHK = re.search(r'(?<!-)onHost([A-Za-z]+)',effectType.group(1))
actionHostCHK = re.search(r'HOST-([A-Z-]+)',action)
currObjID = getGlobalVariable('Engaged Objective')
if debugVerbosity >= 2 and scriptHostCHK: notify ('### scriptHostCHK: {}'.format(scriptHostCHK.group(1))) # Debug
if debugVerbosity >= 2 and actionHostCHK: notify ('### actionHostCHK: {}'.format(actionHostCHK.group(1))) # Debug
#if debugVerbosity >= 2 and scriptHostCHK: notify ('### scriptHostCHK: {}'.format(scriptHostCHK.group(1))) # Debug
#if debugVerbosity >= 2 and actionHostCHK: notify ('### actionHostCHK: {}'.format(actionHostCHK.group(1))) # Debug
if (scriptHostCHK or actionHostCHK) and not ((scriptHostCHK and actionHostCHK) and (re.search(r'{}'.format(scriptHostCHK.group(1).upper()),actionHostCHK.group(1)))): continue # If this is a host card
if ((effectType.group(1) == 'onPlay' and action != 'PLAY') or
(effectType.group(1) == 'onParticipation' and action != 'PARTICIPATION') or
Expand Down

0 comments on commit a85da49

Please sign in to comment.