mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
NO_REPLACE is default for packs
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1103 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -12,7 +12,7 @@ A reference to a [[type:pack item]].
|
||||
! Property Type Default Description
|
||||
| @name@ Name of a [[type:pack item]] ''required'' Name of the pack item to include in this pack.
|
||||
| @amount@ [[type:scriptable]] [[type:double]] 1 How many of those cards are in the pack?
|
||||
| @type@ @"replace"@, @"no replace"@ or @"cyclic"@ @"replace"@ How should the cards be selected? The options are: <ul><li>Random with replacement</li><li>Random without replacement</li><li>Cyclic, selecting each card in turn</li></ul>
|
||||
| @type@ @"replace"@, @"no replace"@ or @"cyclic"@ @"no replace"@ How should the cards be selected? The options are: <ul><li>Random with replacement</li><li>Random without replacement</li><li>Cyclic, selecting each card in turn</li></ul>
|
||||
|
||||
--Example--
|
||||
>item:
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ IMPLEMENT_REFLECTION_ENUM(PackRefType) {
|
||||
|
||||
PackItemRef::PackItemRef()
|
||||
: amount(1)
|
||||
, type(PACK_REF_REPLACE)
|
||||
, type(PACK_REF_NO_REPLACE)
|
||||
{}
|
||||
|
||||
IMPLEMENT_REFLECTION(PackItemRef) {
|
||||
|
||||
Reference in New Issue
Block a user