- 1、本文档共38页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
漂流幻境hcp超省材料中练
bool ShiftStory(int WareID){if(IsWareUpStair(WareID) == 1){if(Value(IsManUpStair) !=1){GoUpStair(0);}if(Value(IsManUpStair) != 1){ShowText(GoUpStair Error);return false;}}else{if(Value(IsManUpStair) == 1){GoDownStair(0);}if(Value(IsManUpStair) == 1){ShowText(GoDownStair Error);return false;}}return true;}bool ScriptContinueMakeItem(int ItemID){if(ContinueMakeItem(ItemID) == 1){while(IsMakingItem(ItemID) == 1){Yield(0);}ShowText(Complete Make Item);return true;}return false;}int MakeItem45005(int ItemCount) //制作普通木头{if(IsFindItem(45005,ItemCount) == 1){return 1;}return 0;}int MakeItem45001(int ItemCount) //制作普通木材{if(IsFindItem(45001,ItemCount) == 1){return 1;}if(IsHaveNecessaryItem(45001) != 1){ShowText(Have not NecessaryItem 45001);return 0;}if(!ShiftStory(38058)){return 0;}ScriptContinueMakeItem(45001);if(IsFindItem(45001,ItemCount) == 1){return 1;}int Count = 0;int SubCount;while(Count ItemCount){MakeItem45001Material();if(MakeItem(45001) != 1){SubCount = 0;int Succ = 0;while(SubCount 1){MakeItem45001Material();if(MakeItem(45001) == 1){Succ = 1;break;}SubCount++;Yield(0);}if(Succ == 0){ShowText(MakeItem(45001) Failure);return 0;}}while(IsMakingItem(45001) == 1){RefreshStat(IsMakingItem45001);Yield(0);}if(IsFindItem(45001,ItemCount) == 1){break;}Count++;Yield(0);}if(IsFindItem(45001,ItemCount) == 1){return 1;}return 0;}void MakeItem45001Material(){if(MakeItem45005(1) == 0){ShowText(Make Item 45005 Failure);return;}}int MakeItem37089(int ItemCount) //制作柴薪{if(IsFindItem(37089,ItemCount) == 1){return 1;}if(IsHaveNecessaryItem(37089) != 1){ShowText(Have not NecessaryItem 37089);return 0;}if(!ShiftStory(38058)){return 0;}ScriptContinueMakeItem(37089);if(IsFindItem(37089,ItemCount) == 1){return 1;}int Count = 0;int SubCount;while(Count ItemCount){MakeItem37089Material();if(MakeItem(37089) != 1){SubCount = 0;int Succ = 0;while(SubCount 1){MakeItem37089Material();if(MakeItem(37089) == 1){Succ = 1;break;}SubCount++;Yield(0);}if(Succ == 0){ShowText(MakeItem(37089) Fa
文档评论(0)