Difference between revisions of "Talk:Spell Format"

From VCMI Project Wiki
Jump to: navigation, search
m (Spell levels)
(Spell levels)
Line 15: Line 15:
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
:Please take a look at new version.--[[User:AVS|AVS]] ([[User talk:AVS|talk]]) 11:59, 4 March 2013 (CET)

Revision as of 10:59, 4 March 2013

Spell levels

I don't like how spell levels are described here. Perhaps instead of dozen of 4-element arrays use 4 sub-records?

"levels": [
{ // no skill
    "cost" : 5,
    "target" : "CREATURE",
    ...
},
...
{ // expert
    "cost" : 2,
    "target" : "NO_TARGET",
    ...
}
Please take a look at new version.--AVS (talk) 11:59, 4 March 2013 (CET)