Luck & custom tower stats
[latexpage] Today I added luck as a new property for towers (in YouTD this is called trigger chance). For those of you who are unfamiliar with the concept, I will try to give a short explanation: Beaver has a 20% chance to stun a creep. Now, if you give an item to him that grants 10% more luck, his chance to stun is increased. Old chance to stun (0% luck): \begin{equation} \label{eq:luck} p(20\%, 0\%) = 20\% + 0\% * 20\% = 20\% \end{equation} New chance to stun (10% luck): \begin{equation} \label{eq:luck} p(20\%, 10\%) = 20\% + 10\% * 20\% = 22\% \end{equation} So luck will be a very nice option to buff some towers, for example Beaver, Pocket Thief or the new Shadow tower! [caption id="attachment_895" align="aligncenter" width="200"]
Lucky pants increase the luck of your tower.[/caption]
I also created a new item with this ability, the Lucky Pants you see in the image above. Plus, there is a new skill to master regarding luck, the Trickster. The skill is available if your player is at least level 18.
[caption id="attachment_910" align="aligncenter" width="300"]
Master the new trickster skill![/caption]
Because luck didn't fit anymore on the tower stats, I did a little re-layout. I also implemented Mr. Gonzalez's feature request to show custom boni for certain towers. Have a look at Knusperhexe and Shadow below.
[caption id="attachment_920" align="alignleft" width="200"]
You see the amounts of creeps the witch already ate.[/caption][caption id="attachment_921" align="alignleft" width="200"]
For Shadow, you see the amount of adaption done so far.[/caption]