Manakel
Recruit

Hello All,
Finally , in MP i'm able to change the weapon proficiency during the game using
I still need to check if it would impact all players. But i believe/hope each player got assigned a dedicated troup... In all case, the bots are not impacted by this.
But i have no friend yet to connect on my server and check if they are also impacted....
However the following code fail to update the shield skill
Basically with this code
the value seems to stay always equals to Knows_shield_4: 81129638414606681695789005144064
Finally , in MP i'm able to change the weapon proficiency during the game using
插入代码块:
(multiplayer_get_my_player,":player_no"),
(player_get_agent_id, ":agent_id", ":player_no"),
(player_get_troop_id,":troup_id",":player_no"),
(store_proficiency_level,":old_onehanded",":troup_id",wpt_one_handed_weapon),
(troop_raise_proficiency_linear,":troup_id",wpt_one_handed_weapon,50),
(store_proficiency_level,":new_onehanded",":troup_id",wpt_one_handed_weapon),
I still need to check if it would impact all players. But i believe/hope each player got assigned a dedicated troup... In all case, the bots are not impacted by this.
But i have no friend yet to connect on my server and check if they are also impacted....
However the following code fail to update the shield skill
Basically with this code
插入代码块:
multiplayer_mk_decrease_shield=(
0, 0, 1, [(key_is_down, key_b),], [
(multiplayer_get_my_player,":player_no"),
(player_get_agent_id, ":agent_id", ":player_no"),
(player_get_troop_id,":troup_id",":player_no"),
(store_skill_level ,":old_shield",":troup_id","skl_shield"),
(troop_raise_skill,":troup_id","skl_shield",1),
(store_skill_level ,":new_shield",":troup_id","skl_shield"),
(assign, reg0, ":old_shield"),
(assign, reg1, ":new_shield"),
(display_message,"str_mk_decrease_shield"),
])