Re: [問題] steal

看板mud_sanc (Sanctuary - 聖殿)作者 (小太保)時間15年前 (2010/07/25 21:27), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串2/2 (看更多)
※ 引述《ssskkk (卡車大叔)》之銘言: Expected: string or array or object Got: 0. 程式: d/steal/steal.c:72 物件: /d/steal/steal /std/user#5016 "heart_beat" std/user.c:908 /d/steal/steal "start_effect" d/steal/steal.c:72 :72 HIG"\n【"HIC"$N得到了 "+steal_objects[r]->query("short")+HIC" !"HIG" 】 \n\n"NOR; steal_object or steal_object[r] 它判斷到為 0。 else if( steal_chance>random(200) && steal_objects=tar->query("steal_objects") ) { if(sizeof(steal_objects)>0) { r=random(sizeof(steal_objects)); 保險起見已加了一行 steal_objects-=({0}) Belldandy. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.117.3.82

07/25 21:30, , 1F
soga...thanks
07/25 21:30, 1F
文章代碼(AID): #1CJ3l2Gv (mud_sanc)
討論串 (同標題文章)
文章代碼(AID): #1CJ3l2Gv (mud_sanc)