Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(_root.save.noAntsTime > 0)
- {
- if(_root.sprayCooldown1 <= 0 && _root.save.ants > 0)
- {
- _root.sprayCooldown1 = 180;
- _root.save.antsSprayed = _root.save.antsSprayed + Math.ceil(_root.save.ants * 0.9);
- _root.save.ants = Math.floor(_root.save.ants * 0.1);
- }
- if(_root.save.featureDoomSprayer == true)
- {
- if(_root.sprayCooldown2 <= 0 && _root.save.ants > 0)
- {
- _root.sprayCooldown2 = 600;
- _root.save.antsSprayed = _root.save.antsSprayed + (_root.save.ants + 99);
- _root.save.ants = -99;
- }
- }
- }
- _root.actiondescription = "";
- if(_root.save.featureManualSprayer == true)
- {
- if(_root.sprayCooldown1 <= 0 && _root.save.ants > 0)
- {
- _root.sprayCooldown1 = 180;
- _root.save.antsSprayed = _root.save.antsSprayed + Math.ceil(_root.save.ants * 0.9);
- _root.save.ants = Math.floor(_root.save.ants * 0.1);
- }
- }
- }
- _root.actiondescription = "";
- if(_root.save.featureDoomSprayer == true)
- {
- if(_root.sprayCooldown2 <= 0 && _root.save.ants > 0)
- {
- _root.sprayCooldown2 = 600;
- _root.save.antsSprayed = _root.save.antsSprayed + (_root.save.ants + 99);
- _root.save.ants = -99;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement