heal()
From Hack Wars Wiki
| Function information for heal() | |
| Function | heal() |
| API | Watch |
| Cost | $10,000 |
| Level | 75 |
| CPU Usage | 15 |
| Description | Heals the port that is being observed by this watch (same price as manual healing). |
Example
This function can be used to automaticly heal ports for better efficiency. The parameters for what port is healed is handled in the Watch Manager in-game. You dont need any if statements or anything for when it heals, just set as health watch and set the health value and port and it does the rest.
heal(); |
