• 0

    posted a message on esES locale spell color fixed SCTD and SCT
    This is the code for fixed the SCT and the SCTD Spell color
    damagetype variable in spanish is Ex. when you cast a fireboll damagetype is "Fire" but in the spanish version is "de Fuego", this fix deleted "de" and now the colors show correctly. Only on the "damagetypes" that have two words, when the damagetype has one word this fix not change the variable.
    Tested and work 100% in spanish and english clients.
    Put this fixe in SCT.lua and SCTD.lua
    ..
    ..
    --if spell color
    if( damagetype and GetLocale()=="esES" ) then
    local _,b =strfind(damagetype, "(%S+)");
    if (b) then
    damagetype = strsub(damagetype, b+2);
    end

    end
    if ((damagetype) and (SCT.db.profile["SCTD_SPELLCOLOR"])) then
    rbgcolor = SCT.db.profile[SCT.SPELL_COLORS_TABLE][damagetype] or rbgcolor;
    end
    --if resisted
    .
    .
    .
    Made by Padrekarras
    Posted in: General AddOns
  • 0

    posted a message on Problem witch SCT and SCTD
    I have this two popular addons a long time ago.
    I use the spanish version and i have a trouble (is updated version)
    The addon works perfectly-->show damege, type of damage....except one. The color of the damage (shadow, fire...). I try to work in the english version and works perfectly, Why not in the spanish version?.
    I serach in the code and i think is a problem is related with damegetype.

    Plz help me.
    Thanks for all info
    Posted in: General AddOns
  • To post a comment, please or register a new account.