Menelaus
New Member
- Reaction score
- 9
i have this sell trigger and it says you have recieved x gold for selling a custom_h00(random letter).
Whats wrong and how do i fix it?
Code:
sell
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Sell
Actions
Player - Add (Integer(((Real((Point-value of (Triggering unit)))) x 0.75))) to (Owner of (Triggering unit)) Current gold
Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Unit - Remove (Triggering unit) from the game
[COLOR="Red"] Game - Display to (Player group((Owner of (Triggering unit)))) the text: (((You received + gold_color) + (String((Integer(((Real((Point-value of (Triggering unit)))) x 0.75)))))) + (|r for selling a|cffffffff + ((String((Unit-type of (Triggering unit)))) + |r.)))[/COLOR]