tag:blogger.com,1999:blog-889604442512373664.post6097186437510534925..comments2023-10-31T08:28:52.391-07:00Comments on Computer Programming and Magic: The Gathering: Forge ScriptingForgehttp://www.blogger.com/profile/15838286606081721333noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-889604442512373664.post-54825549139183159082011-05-11T13:29:51.372-07:002011-05-11T13:29:51.372-07:00The AI is very important and the Forge programmers...The AI is very important and the Forge programmers use scripting for some AI stuff. (I don't know exactly.)<br /><br />"I would consider the Rarity (and other similar non-scripting information) to be metadata."<br /><br />It probably is metadata but it has to be put somewhere. Initially I ignored rarity all together because different sets may have the same card at different rarities. In reality it doesn't matter and people want to play Standard.Forgehttps://www.blogger.com/profile/15838286606081721333noreply@blogger.comtag:blogger.com,1999:blog-889604442512373664.post-81250079788657523552011-05-09T05:05:47.384-07:002011-05-09T05:05:47.384-07:00One other key advantage of Scripting that you didn...One other key advantage of Scripting that you didn't mention is consistent AI play. When we update the DealDamage portion of the code to be more picky about what it targets, every single card that uses DealDamage will now be improved across the board. If a card is hardcoded each card that is hardcoded would need to be updated separately.<br /><br />I would consider the Rarity (and other similar non-scriting information) to be metadata. Information about the card that makes sense to be attached to the card, but doesn't necessarily DO anything.<br /><br />--friar soltehdiplomathttps://www.blogger.com/profile/06518901599615912098noreply@blogger.com