Jump to content
  • 0

Shift+click


criss22

Question

Well, i need a bit help. Back in past. Not more. I want to fix something and i didn't know.

I make 2 category of drop. DROP and SPOIL . All good. I see Drop with Orange color. but Spoil i see still like Drop. Not like Fuchsya. I put cat.isSweep(). No chance.

First Item it is Spoil drop. Second it is Drop normal

jFPStK1.png

Here it is java line.

StringUtil.append(html1, "<tr>", "<td><center><img src=\"" + item.getIcon() + "\" height=32 width=32></center><br>", "<center><font color=\"ff9933\">" + item.getName() + "</font></center>", "<br1>" + "<center><font color=\"00cc66\">Chance:  </font>", "<font color=\"ffffff\">" + roundChance + "0%" + "</font>", "<font color=\"00cc66\">    Min:</font>" + "<font color=\"ffffff\">" + drop.getMinDrop() + "</font>" + "<font color=\"00cc66\">    Max:</font>", "<font color=\"ffffff\">" + drop.getMaxDrop() + "</font></center>" + "<img src=\"L2UI.SquareWhite\" width=280 height=1>", "<br>", "</td>", "</tr>");
					

How i can set this line to add Drop Spoil like this color?

Thanks

Edited by criss22
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
10 hours ago, BruT said:

<font color=" + (cat.isSweep() ? ("COLOR") : ("COLOR")) + " >" + item.getName() + "</font>

Thank you! That's works. 

 

Edited by criss22
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...