屬性126 與 127的搭配(當遇到類型)
The interaction between XS Attributes 126 and 127 (when dealing with unit types)
void c32_txDt()
{
xsEffectAmount(0,906,126,2,1);
xsEffectAmount(0,906,127,2,1);
}
//結果為 將會讓 (玩家1) ID906 步兵類型只能”生產2次”死亡後不能重新生產
但實際上會變成 每個步兵類型都可以生產2次 死亡後不能重新生產
//Result: (Player 1’s) ID906 infantry-type unit will be limited to “2 productions only” and cannot be produced again after dying.
But in reality, every infantry-type unit can be produced twice and cannot be re-produced after death.
void c32_txDt()
{
xsEffectAmount(0,906,126,2,1);
xsEffectAmount(0,906,127,4,1);
}
假設為以上預期效果應該是"總共可以訓練2個 步兵單位 步兵單位死亡後可以重新生產"
但實際效果卻是"每個步兵單位可以被訓練2個 每個步兵單位小於2時 可以被重勳訓練"
//Intended behavior: A total of 2 infantry units can be trained. If an infantry unit dies, it can be retrained.
//Actual behavior: Each infantry unit type can be trained up to 2 units. As long as there are fewer than 2 of that type, it can be retrained.
理論上這兩個屬性的搭配可以控制"村民"貿易車隊"…等總數
但現在這樣似乎存在邏輯性的BUG?對嗎?
我不確定是不是BUG只是反饋
The combination of these two attributes should theoretically control the total number of “villagers,” “trade carts,” and so on.
But it seems that there is a logical bug with this, right?
I’m not sure if it’s a bug, just providing feedback.