Skip to content

Commit 04a5054

Browse files
authored
banish and excavate models
1 parent 7d7ca18 commit 04a5054

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

Scripthesaurus.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
can only be used once per turn|
88
target |
99
destroy |
10+
banish |
11+
excavate|
1012
then|
1113
and if you do|
1214
also|
@@ -24,8 +26,7 @@
2426
6 |
2527
7 |
2628
8 |
27-
9 |
28-
'''
29+
9 '''
2930
# next, add a bunch of FROMs
3031
cases_list = str(cases_list.replace('\n', ''))
3132

@@ -70,6 +71,12 @@ def scriptranslate(psct):
7071
case 'destroy ':
7172
return (res[0],1)+add_target+add_operation+('<edit target>','<edit target>\n Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)','<edit operation>','Duel.Destroy(tc,REASON_EFFECT)\n <edit operation>','<hint>','HINTMSG_DESTROY')
7273

74+
case 'banish ':
75+
return (res[0],1)+add_target+add_operation+('<edit target>','<edit target>\n Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,1,0,0)','<edit operation>','Duel.Remove(tc,REASON_EFFECT)\n <edit operation>','<hint>','HINTMSG_REMOVE')
76+
77+
case 'excavate':
78+
return (res[0],1)+add_operation+('<edit operation>','Duel.ConfirmDecktop(tp,<amount>)\n local g=Duel.GetDecktopGroup(tp,<amount>):Filter(s.filter,nil,e,tp)\n Duel.ShuffleDeck(tp)\n <edit operation>')
79+
7380
case 'then':
7481
return (res[0],1)+add_operation+('<edit operation>','if <condition first part effect>\n Duel.BreakEffect()\n <edit operation>\n end')
7582

0 commit comments

Comments
 (0)