Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:GetGuildTacticsRespecCost

From RoR Wiki
Revision as of 19:43, 16 October 2026 by Maintenance script (talk | contribs) (UI Lua API import (WAR 1.4.8))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UI Lua API · Guild functions
Version: WAR 1.4.8

Returns the cost of resetting (respeccing) the guild tactics.

cost = GetGuildTacticsRespecCost()

Arguments

None.

Returns

cost
number – The cost, as a money amount.

Details

  • The value is stored by the client; the function does not contact the server.
  • RespecGuildTactics compares the player's money with this same value before sending the respec.

Errors

None.

Example

From default/ea_guildwindow/source/guildrespectacticslist.lua:

local respecCost = GetGuildTacticsRespecCost()

-- Create Confirmation Dialog
local dialogText = GetFormatStringFromTable( "guildstrings", StringTables.Guild.DIALOG_CONFIRM_RESPEC_GUILD_TACTICS, { MoneyFrame.FormatMoneyString (respecCost, false, true) } )

See also