Hi Ianmward,
wow, I am really impressed! Thanks a lot for your quick updates! :D Most of the settings are working fine now and I have to say that I am really happy about it!
Below other bugs which I noticed:
Trying to put modificators into Combat tracker
I figured out another bug, which appears when I try to put modificators into the Combat Tracker. Please see below. I also attached an image Attachment 42329.
Ruleset Error: window: Control(label) anchoring to an undefined control (leftanchor) in windowclass (ct_effect)
Ruleset Error: window: Control(label) anchoring to an undefined control (leftanchor) in windowclass (ct_effect)
Script Error: [string "ct/scripts/ct_effect.lua"]:43: attempt to index global 'targeting_add_button' (a nil value)
Ruleset Error: window: Control(label) anchoring to an undefined control (leftanchor) in windowclass (ct_effect)
Ruleset Error: window: Control(label) anchoring to an undefined control (leftanchor) in windowclass (ct_effect)
Ruleset Error: window: Control(label) anchoring to an undefined control (leftanchor) in windowclass (ct_effect)
Ruleset Error: window: Control(label) anchoring to an undefined control (leftanchor) in windowclass (ct_effect)
Script Error: [string "ct/scripts/ct_effect.lua"]:43: attempt to index global 'targeting_add_button' (a nil value)
Ruleset Error: window: Control(label) anchoring to an undefined control (leftanchor) in windowclass (ct_effect)
Ruleset Error: window: Control(label) anchoring to an undefined control (leftanchor) in windowclass (ct_effect)
Ruleset Error: window: Control(label) anchoring to an undefined control (leftanchor) in windowclass (ct_effect)
Ruleset Error: window: Control(label) anchoring to an undefined control (leftanchor) in windowclass (ct_effect)
w/4 clips question
Another question regarding the code for fire weapons. In which kind of way works the 'w/4 clips' passage? Or is there no automatic in the backend?
Wound-status value within CT
I noticed that there is some script given in the ct_entry.lua, which lists up the current health status for npc's. Code see below
Is there any possibility to make this visible for the combattracker and/or the battlemap?Code:function onWoundsChanged()
-- Calculate the percent wounded for this unit
-- local nPercentWounded, nPercentNonlethal = ActorManager.getPercentWounded("ct", getDatabaseNode());
-- Based on the percent wounded, change the font color for the Wounds field
-- if nPercentWounded > 1 then
-- wounds.setFont("ct_dead_number");
-- nonlethal.setFont("ct_dead_number");
-- elseif nPercentNonlethal > 1 then
-- wounds.setFont("ct_unc_number");
-- nonlethal.setFont("ct_unc_number");
-- elseif nPercentNonlethal > 0.66 then
-- wounds.setFont("ct_hvywound_number");
-- nonlethal.setFont("ct_hvywound_number");
-- elseif nPercentNonlethal > 0.33 then
-- wounds.setFont("ct_modwound_number");
-- nonlethal.setFont("ct_modwound_number");
-- elseif nPercentNonlethal > 0 then
-- wounds.setFont("ct_ltwound_number");
-- nonlethal.setFont("ct_ltwound_number");
-- else
-- wounds.setFont("ct_healthy_number");
-- nonlethal.setFont("ct_healthy_number");
-- end
-- Based on the percent wounded, set the Status text field
-- if nPercentWounded > 1 then
-- if (wounds.getValue() - hp.getValue()) < 10 then
-- status.setValue("Dying");
-- else
-- status.setValue("Dead");
-- end
-- elseif nPercentNonlethal > 1 then
-- status.setValue("Unconscious");
-- elseif nPercentWounded == 1 then
-- status.setValue("Disabled");
-- elseif nPercentNonlethal == 1 then
-- status.setValue("Staggered");
-- elseif nPercentNonlethal > .66 then
-- status.setValue("Heavy");
-- elseif nPercentNonlethal > .33 then
-- status.setValue("Moderate");
-- elseif nPercentNonlethal > 0 then
-- status.setValue("Light");
-- else
-- status.setValue("Healthy");
-- end
-- Update the token underlay to reflect wound status
-- updateTokenUnderlay();
end
Resist-Check for Drain-Value wrong
I noticed that in case of using the spells (e.g. Powerbolt or Fireball) the resist-value is much higher than it should be. For example, if you cast a spell with a mage (Willpower 5 + Magic 5), you only should have 10 dices to roll. But I do have 15 dices to resist the drainvalue. Please see attached image: Attachment 42351
Many thanks in advance for your help. I really appreciate your help in this matter! :)