Difficulty scaling/zh: Difference between revisions

Created page with "下面這些武器在生成的時候會呼叫它的 'scaleWeapon' 函數 * '''單獨存在的武器''': The actor property 'LevelSensorMode' is higher than 1 '''and''' it was..."
(Created page with "== 武器 ==")
(Created page with "下面這些武器在生成的時候會呼叫它的 'scaleWeapon' 函數 * '''單獨存在的武器''': The actor property 'LevelSensorMode' is higher than 1 '''and''' it was...")
Line 35: Line 35:
== 武器 ==  
== 武器 ==  


'scaleWeapon' is called (i.e. weapons may be scaled) for a weapon if:
下面這些武器在生成的時候會呼叫它的 'scaleWeapon' 函數
* '''For standalone weapons''': The actor property 'LevelSensorMode' is higher than 1 '''and''' it wasn't already picked up.
 
* '''For treasure chest drops''': If SharpWeaponJudgeType is not 4, when [[AIDef:AI/TreasureBox]] initialises the drop actor.
* '''單獨存在的武器''': The actor property 'LevelSensorMode' is higher than 1 '''and''' it wasn't already picked up. 設定上可以升級而且還沒被撿走
* '''For Hinox weapons''': The flag <code>{MapName}_Necklace_{i}_{HinoxName}_{ID}</code> is false.
* '''寶箱裡的武器''': If SharpWeaponJudgeType is not 4, when [[AIDef:AI/TreasureBox]] initialises the drop actor. 同樣是設定上允許升級
* '''For other enemy drops''': The flag <code>{MapName}_WeaponDrop_{ID}</code> is false, '''and''' [the actor property 'LevelSensorMode' is higher than 1 ''or'' the enemy is a Guardian Scout ('Enemy_Guardian_Mini')].
* '''西諾克斯脖子上的武器''': The flag <code>{MapName}_Necklace_{i}_{HinoxName}_{ID}</code> is false.
* '''敵人手上的武器''': The flag <code>{MapName}_WeaponDrop_{ID}</code> is false, '''and''' [the actor property 'LevelSensorMode' is higher than 1 ''or'' the enemy is a Guardian Scout ('Enemy_Guardian_Mini' 廟裡的守護者)].


Note: Weapons that are bought from a shop cannot receive modifiers because they do not fit into any of the above cases.
Note: Weapons that are bought from a shop cannot receive modifiers because they do not fit into any of the above cases.