したらばTOP ■掲示板に戻る■ 全部 1-100 最新50 | メール | |
レス数が1スレッドの最大レス数(1000件)を超えています。残念ながら投稿することができません。

改造・制作スレ part3

100名無しさん:2011/06/20(月) 10:45:27 ID:???
storeUnitOfSpotは領地をクリックした時に開くウィンドウの中に入っているユニットを出すもののようなので、
放浪人材は含まれておらず、subVar(@kouho_unit, @p_power_unit)の部分で@kouho_unitの要素が無くなってるっぽいです

このようなものではどうでしょうか?

storePlayerPower(@maikuni)
storeSpotOfPower(@maikuni,@maispot)
storeAllTalent(@allunit)
clearVar(@maispot_roam)
set(idx,0)
while (countVar(@allunit) > idx) {
storeIndexVar(@allunit,idx,@allunit_idx)
add(idx,1)
storeSpotOfUnit(@allunit_idx,@allunit_idx_s)
if (inVar(@maispot,@allunit_idx_s) && isRoamLeader(@allunit_idx)) {
addVar(@maispot_roam,@allunit_idx)
}
}
if (countVar(@maispot_roam) > 0) {
msg(放浪いるよ)
set(idx,0)
while (countVar(@maispot_roam) > idx) {
storeIndexVar(@maispot_roam,idx,@maispot_roam_idx)
add(idx,1)
msg(&@maispot_roam&)
}
}




掲示板管理者へ連絡 無料レンタル掲示板