Snarkie / YGOProAIScript

The AI script for YGOPro Percy
http://www.ygopro.co/Forum/tabid/95/g/topics/f/12/AI-section
MIT License
22 stars 9 forks source link

ChainMaxxC Issue #7

Closed neftalimich closed 7 years ago

neftalimich commented 8 years ago

Hi Snarkie, i wanna contribute a little bit:

Issue

function ChainMaxxC() for i=1,Duel.GetCurrentChain() do if Duel.GetOperationInfo(Duel.GetCurrentChain(), CATEGORY_SPECIALSUMMON) and Duel.GetChainInfo(Duel.GetCurrentChain()_, CHAININFO_TRIGGERING_PLAYER)~=player_ai then return true end end return false end

Fix

function ChainMaxxC() for i=1,Duel.GetCurrentChain() do if Duel.GetOperationInfo(i, CATEGORY_SPECIAL_SUMMON) and Duel.GetChainInfo(i, CHAININFO_TRIGGERING_PLAYER)~=player_ai then return true end end return false end

I guess this don't needs a "pull request" :)

Snarkie commented 7 years ago

fixed for next version