1.dotaç离ååºå¶ä½
dotaç离ååºå¶ä½
ããå¾ç®åç触åæè½ï¼æ¥¼ä¸»è¦çè¯çé®ç®±ï¼æç»ä½ åï¼ä¸è¿dotaéçç¨å°äºå¯¼å ¥ç模åï¼æå¯ä»¥ç¨å«ç代æ¿ï¼æææ¯ä¸æ ·ç
ããåèµ·æ¥ç®åï¼è¯´èµ·æ¥éº»ç¦.....
ãã触åä¸diancibaoï¼
ããäºä»¶
ããåä½ - ä»»æåä½ åå¨æè½ææ
ããæ¡ä»¶
ãã(æ½æ¾æè½) çäº ç¦»ååº
ããå¨ä½
ããSet Diancibao__danwei[0] = (触ååä½)
ããSet Diancibao__dian[0] = (Diancibao__danwei[0] çä½ç½®)
ããSet Diancibao__zhengshu[0] = ((æ½æ¾æè½) çç级对 Diancibao__danwei[0])
ããSet Diancibao__shishu[0] = (. + (. x (è½¬æ¢ Diancibao__zhengshu[0] 为å®æ°)))
ããSet Diancibao__shishu[1] = (. + (. x (è½¬æ¢ Diancibao__zhengshu[0] 为å®æ°)))
ããSet Diancibao__shishu[2] = (éæºå®æ°,福利站导航源码æå°å¼: 0. æ大å¼: .)
ããSet Diancibao__zhengshu[1] = ( + (8 x Diancibao__zhengshu[0]))
ãã循ç¯å¨ä½[Diancibao__zhengshu[2]]ä» 1 å° Diancibao__zhengshu[1], è¿è¡ (Loop - å¨ä½)
ããLoop - å¨ä½
ããåä½ - å建 1 个 马ç²éªçµ çµç£ç ç» (Diancibao__danwei[0] çææè ) å¨ Diancibao__dian[0] ,é¢åè§åº¦ä¸º é»è®¤å»ºçæå 度
ããåä½ - 设置 3. ç§ æ°´å ç´ ç±»åççå½å¨æ对 æåå建çåä½ <New>
ããSet Diancibao__danwei[Diancibao__zhengshu[2]] = æåå建çåä½ <New>
ãã触åå¨ - å¼å¯ diancibao <é¢è®¾>
ãã计æ¶å¨ - å¯å¨ Diancibao__jishiqi[0],åºç¨è®¡æ¶æ¹å¼: 循ç¯,计æ¶å¨æ为 0. ç§
ãã触åäºdiancibao
ããäºä»¶
ããæ¶é´ - Diancibao__jishiqi[0] å°æ
ããæ¡ä»¶
ããå¨ä½
ããSet Diancibao__shishu[3] = (Diancibao__shishu[3] + 0.)
ããç¹ - æ¸ é¤ Diancibao__dian[0]
ããSet Diancibao__dian[0] = (Diancibao__danwei[0] çä½ç½®)
ãã循ç¯å¨ä½[Diancibao__zhengshu[3]]ä» 1 å° Diancibao__zhengshu[1], è¿è¡ (Loop - å¨ä½)
ããLoop - å¨ä½
ããSet Diancibao__shishu[4] = ((Diancibao__shishu[1] x Diancibao__shishu[3]) - ((0. x Diancibao__shishu[0]) x (Diancibao__shishu[3] x Diancibao__shishu[3])))
ããSet Diancibao__dian[1] = (ä» Diancibao__dian[0] å¼å§,è·ç¦» Diancibao__shishu[4] ,æ¹å为 (Diancibao__shishu[2] + ((. / (è½¬æ¢ Diancibao__zhengshu[1] 为å®æ°)) x (è½¬æ¢ Diancibao__zhengshu[3] 为å®æ°))) 度çä½ç§»å¤)
ããåä½ - ç«å³ç§»å¨ Diancibao__danwei[Diancibao__zhengshu[3]] å° Diancibao__dian[1]
ããç¹ - æ¸ é¤ Diancibao__dian[1]
ããå¦æ(ææçæ¡ä»¶æç«) åè¿è¡ (Then - å¨ä½) å¦åè¿è¡ (Else - è¿ä½)
ããIf - æ¡ä»¶
ããDiancibao__shishu[3] 大äºæçäº (2. x (Diancibao__shishu[1] / Diancibao__shishu[0]))
ããThen - å¨ä½
ãã循ç¯å¨ä½[Diancibao__zhengshu[4]]ä» 1 å° Diancibao__zhengshu[1], è¿è¡ (Loop - å¨ä½)
ããLoop - å¨ä½
ããåä½ - å é¤ Diancibao__danwei[Diancibao__zhengshu[4]]
ããSet Diancibao__danwei[Diancibao__zhengshu[4]] = 没æåä½
ããSet Diancibao__danwei[0] = 没æåä½
ããç¹ - æ¸ é¤ Diancibao__dian[0]
ããSet Diancibao__shishu[0] = 0.
ããSet Diancibao__shishu[1] = 0.
ããSet Diancibao__shishu[2] = 0.
ããSet Diancibao__shishu[3] = 0.
ããSet Diancibao__shishu[4] = 0.
ããSet Diancibao__zhengshu[0] = 0
ããSet Diancibao__zhengshu[1] = 0
ããSet Diancibao__zhengshu[2] = 0
ããSet Diancibao__zhengshu[3] = 0
ããSet Diancibao__zhengshu[4] = 0
ãã计æ¶å¨ - æå Diancibao__jishiqi[0]
ãã触åå¨ - å ³é (å½å触å)
ããElse - å¨ä½
ããè¿æ¯æåçï¼å ¶ä¸æ¶åå° äºä¸äºåéï¼å æ¬ç¹ï¼æ´æ°ï¼å®æ°çï¼æç¨æ¼é³åçï¼ä½ å¯ä»¥çåºæ¥
ããå¦æä½ è¦Jçççï¼æä¹å¯ä»¥ç»ä½ å个.........