S
swedenman
Guest
Ok, so this is my trigger,
My problem is that it will display 3,75.. is it possible to only have it type out "3"?
Ty in advance
// The Swedish Man
Code:
Sell Tower
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Sell Tower
Actions
Player - Add (Integer(((Real((Point-value of (Triggering unit)))) x 0.75))) to (Owner of (Triggering unit)) Current gold
Unit - Remove (Triggering unit) from the game
Game - Display to (All players controlled by a ((Owner of (Triggering unit)) controller) player) the text: (You have recieved |cffffd700 + ((String(((Real((Point-value of (Triggering unit)))) x 0.75), 1, 2)) + ( |r gold for selling one + ((Name of (Triggering unit)) + .))))
My problem is that it will display 3,75.. is it possible to only have it type out "3"?
Ty in advance
// The Swedish Man