Hello, I currently trying to use the new menu system, I think the config is good butthe result is to have an infinite amount of mana.
Also I'm not sure but the mana cost since a bit bugged too. So idk, maybe I made a mistake somewhere.
Can you help me with that?
What happen in game:
Click here
The cfg:
Spoiler
Code:
"special_menu_manager"
{
"tickrate" "0.1" // Menu tick rate
"manas"
{
"1" // Ability Slot, eg. 0 syncs with RAGE meter
{
"name" "Mana 1" // Name, can use "name_en", etc. If left blank, section name is used instead
"start" "15000" // Starting amount
"maximum" "15000" // Maximum amount
"display" "" // Starting display amount. If left blank, "start" is used
}
"2" // Ability Slot, eg. 0 syncs with RAGE meter
{
"name" "Mana 2" // Name, can use "name_en", etc. If left blank, section name is used instead
"start" "10000.0" // Starting amount
"maximum" "0.0" // Maximum amount
"display" "0.0" // Starting display amount. If left blank, "start" is used
"rolling" "5.0" // Rolling animation speed
"ontick" "0.0" // Gain every menu tick
"onkill" "1000.0" // Gain on a kill
"onbossdeath" "0.0" // Gain when a boss dies
"onhurt" "10.0" // Gain for every point of damage taken
"ondamage" "50.0" // Gain for every point of damage dealt
"onairblast" "0.0" // Gain when airblasted
}
}
"spells"
{
"0" // Sorted in number and ABC order
{
"name" "Test Mana 1" // Name, can use "name_en", etc. If left blank, section name is used instead
"delay" "20.0" // Initial cooldown
"cooldown" "30.0" // Cooldown on use
"low" "11" // Lowest ability slot to activate. If left blank, "high" is used
"high" "11" // Highest ability slot to activate. If left blank, "low" is used
"flags" "0x0000"// Casting flags
// 0x0001: Magic (Sapper effect prevents casting)
// 0x0002: Mind (Stun effects DOESN'T prevent casting)
// 0x0004: Summon (Requires a dead summonable player to cast)
// 0x0008: Partner (Requires a teammate boss alive to cast)
// 0x0010: Last Life (Requires a single life left to cast)
// 0x0020: Grounded (Requires being on the ground to cast)
// 0x0040: Priority (Will always appear when "limit" is on)
"1" "1500.0" // Cost of Mana 0
}
"1" // Sorted in number and ABC order
{
"name" "Test Mana 2" // Name, can use "name_en", etc. If left blank, section name is used instead
"delay" "20.0" // Initial cooldown
"cooldown" "30.0" // Cooldown on use
"low" "11" // Lowest ability slot to activate. If left blank, "high" is used
"high" "11" // Highest ability slot to activate. If left blank, "low" is used
"flags" "0x0000"// Casting flags
// 0x0001: Magic (Sapper effect prevents casting)
// 0x0002: Mind (Stun effects DOESN'T prevent casting)
// 0x0004: Summon (Requires a dead summonable player to cast)
// 0x0008: Partner (Requires a teammate boss alive to cast)
// 0x0010: Last Life (Requires a single life left to cast)
// 0x0020: Grounded (Requires being on the ground to cast)
// 0x0040: Priority (Will always appear when "limit" is on)
"2" "1500.0" // Cost of Mana 0
}
}
"plugin_name" "ff2r_menu_abilities"
}
Many thanks for all your hard work too.