View Single Post
  #4  
Unread 03-17-2010, 11:31 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

First thing to note: Crit chance checks the level of your target to calculate crit chance. For targets higher level than you, 100% crit isn't really 100%

Here's your code with my code implemented:
Code:
<Text DynamicData="/GameData.Stats.Crit_Chance" DynamicDataFilter="FBFF" Font="/TextStyles.Normal.NormalStyle" Location="44,52" Name="Value_CritChance" OnTextChanged="iPct=int(LocalText)&#xD;&#xA;COND=(iPct > 99)&#xD;&#xA;Color=(COND ? '#FF0000' : '#00FF00')" PackLocation="FFF" ScrollExtent="27,16" Size="27,16" TextColor="#C7CFC7">:42aee842884382ba_21:200.0</Text>
It's not tested. But it "should" change the text red if it's over 99%
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote