API:RespecGuildTactics
From RoR Wiki
UI Lua API · Guild functions
Version: WAR 1.4.8
Asks the server to reset (respec) the guild tactics.
RespecGuildTactics()
Arguments
None.
Returns
Nothing.
Details
- The client first compares the player's money with GetGuildTacticsRespecCost. If the player has less, nothing is sent and a message is written to the chat log instead.
- Otherwise a "respec guild tactics" guild command is sent to the server. The client does not check permissions.
- The function reads no arguments; any arguments passed are ignored.
Errors
None.
Example
From default/ea_guildwindow/source/guildrespectacticslist.lua:
local respecCost = GetGuildTacticsRespecCost()
...
local function repecGuildTacticsConfirmed()
RespecGuildTactics()
end
