PHP:
Hero limitation
Events
Unit - A unit Sells a unit
Conditions
((Unit-type of (Sold unit)) is A Hero) Equal to True
(Unit-type of (Sold unit)) Equal to Paladin
(Unit-type of (Sold unit)) Equal to Archmage
Actions
Neutral Building - Remove (Unit-type of (Sold unit)) from (Selling unit)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Make Paladin Unavailable for training/construction by (Picked player)
Player - Make Archmage Unavailable for training/construction by (Picked player)
ok, i wanna limit all hero. whoever get that hero, that hero is no longer for sale. but i am not sure if this one is right. cuz i am gonna add lot more heroes in. thanks.