FWL trainer unbloated
From Hack Wars Wiki
| Information for the Fwl trainer Script | |
| Script | Fwl trainer |
| API | Attack |
| Cost | $605.00 |
| Level | 25 Attack |
| CPU Usage | 20 |
| Description | This script will make an NPC retaliate, and allow your firewall to get hit without you overheating yourself or the NPC. Is a close replica to FWL_trainer with some code changes suggested by silverlight. Changes included: removed if statement, reducing code and price. |
| Output | N/A |
Initialize:
//optional code, just reduces chance of you overheating. Removing getHP() and cancelAttack() from init will drop the cost to $55 per compile. int main(){ if (getHP()<100.0) { cancelAttack(); } } |
Continue:
int main(){ cancelAttack(); } |
