Decreases (reduces) a specific player’s specific upgrade by a specific amount of levels.
Even though this native takes an integer and integers can be both negatives and positive numbers, in this specific case this native does not allow for an increment by setting the integer to negative.
- return type
- Source code
native BlzDecPlayerTechResearched takes player whichPlayer, integer techid, integer levels returns nothing