Bots Home
|
Create an App
hethg
Author:
hethro1
Description
Source Code
Launch Bot
Current Users
Created by:
Hethro1
var tip_amount=0; var BL=1; var BH=0; cb.settings_choices = [ //============Goals/bosses defeated {name:'BstartL', type:'int',label:'Boss Start Level= ',defaultValue:1}, {name:'DmgCarry', type:'choice', choice1:'Yes', choice2:'No', label:'Have extra damage go to next boss?', defaultValue:'Yes'}, //============Goals/bosses names============== {name:'B1', type:'str', label:'Level 1 Boss Name=',defaultValue: 'The Scamming Rat'}, {name:'B2', type:'str', label:'Level 2 Boss Name=',defaultValue: 'The Gray Troll'}, {name:'B3', type:'str', label:'Level 3 Boss Name=',defaultValue: 'The Leaking Vampire'}, {name:'B4', type:'str', label:'Level 4 Boss Name=',defaultValue: 'The Demanding Giant '}, {name:'B5', type:'str', label:'Level 5 Boss Name=',defaultValue: 'The Dragon Of Complete Silence '}, //============Goals/bosses Health============== {name:'BHM1', type:'int', label:'Level 1 Boss health(goal)=',defaultValue: 500}, {name:'BHM2', type:'int', label:'Level 2 Boss health(goal)=',defaultValue: 500}, {name:'BHM3', type:'int', label:'Level 3 Boss health(goal)=',defaultValue: 750}, {name:'BHM4', type:'int', label:'Level 4 Boss health(goal)=',defaultValue: 750}, {name:'BHM5', type:'int', label:'Level 5 Boss health(goal)=',defaultValue: 1000}, //============Goals/bosses Rewards============== {name:'BR1', type:'str', label:'Level 1 Boss Reward=',defaultValue: 'Shirt Off'}, {name:'BR2', type:'str', label:'Level 2 Boss Reward=',defaultValue: 'Pants Off'}, {name:'BR3', type:'str', label:'Level 3 Boss Reward=',defaultValue: 'Bra Off'}, {name:'BR4', type:'str', label:'Level 4 Boss Reward=',defaultValue: 'Panties Off'}, {name:'BR5', type:'str', label:'Level 5 Boss Reward=',defaultValue: 'Cum Show'}, //============Weapon cost Damage============== {name:'weaponcostdmg1', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 1 Cost Damages Boss?',defaultValue:'Yes'}, {name:'weaponcostdmg2', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 2 Cost Damages Boss?',defaultValue:'Yes'}, {name:'weaponcostdmg3', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 3 Cost Damages Boss?',defaultValue:'Yes'}, {name:'weaponcostdmg4', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 4 Cost Damages Boss?',defaultValue:'Yes'}, {name:'weaponcostdmg5', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 5 Cost Damages Boss?',defaultValue:'Yes'}, //============Weapon Name============== {name:'Weaponname1', type:'str', label:'level1 Weapon Name=',defaultValue: 'Silencing Club'}, {name:'Weaponname2', type:'str', label:'level2 Weapon Name=',defaultValue: 'Boots of Kicking'}, {name:'Weaponname3', type:'str', label:'level3 Weapon Name=',defaultValue: 'Paddle of Pleasure '}, {name:'Weaponname4', type:'str', label:'level4 Weapon Name=',defaultValue: 'Flail of Buzzing'}, {name:'Weaponname5', type:'str', label:'level5 Weapon Name=',defaultValue: 'Vibrating Sward Of Glory'}, //============Weapon Cost============== {name:'WC1', type:'int', label:'Weapon 1 Cost=',defaultValue: 2}, {name:'WC2', type:'int', label:'Weapon 2 Cost=',defaultValue: 52}, {name:'WC3', type:'int', label:'Weapon 3 Cost=',defaultValue: 102}, {name:'WC4', type:'int', label:'Weapon 4 Cost=',defaultValue: 252}, {name:'WC5', type:'int', label:'Weapon 5 Cost=',defaultValue: 502}, //============Weapon Wild Swing Active============== {name:'weaponwsactive1', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 1 Wild Swing Active',defaultValue:'Yes'}, {name:'weaponwsactive2', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 2 Wild Swing Active',defaultValue:'Yes'}, {name:'weaponwsactive3', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 3 Wild Swing Active',defaultValue:'Yes'}, {name:'weaponwsactive4', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 4 Wild Swing Active',defaultValue:'Yes'}, {name:'weaponwsactive5', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 5 Wild Swing Active',defaultValue:'Yes'}, //============Weapon Wild Swing Cost Damage============== {name:'weaponwscostdmg1', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 1 Wild Swing Cost Does Damage?',defaultValue:'No'}, {name:'weaponwscostdmg2', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 2 Wild Swing Cost Does Damage?',defaultValue:'No'}, {name:'weaponwscostdmg3', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 3 Wild Swing Cost Does Damage?',defaultValue:'No'}, {name:'weaponwscostdmg4', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 4 Wild Swing Cost Does Damage?',defaultValue:'No'}, {name:'weaponwscostdmg5', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 5 Wild Swing Cost Does Damage?',defaultValue:'No'}, //============Weapon Wild Swing Cost============== {name:'weaponwscost1', type:'int', label:'Weapon 1 Wild Swing Cost=',defaultValue: 3}, {name:'weaponwscost2', type:'int', label:'Weapon 2 Wild Swing Cost=',defaultValue: 53}, {name:'weaponwscost3', type:'int', label:'Weapon 3 Wild Swing Cost=',defaultValue: 103}, {name:'weaponwscost4', type:'int', label:'Weapon 4 Wild Swing Cost=',defaultValue: 253}, {name:'weaponwscost5', type:'int', label:'Weapon 5 Wild Swing Cost=',defaultValue: 503}, //============Weapon Wild Swing Multiplyer============== {name:'weaponwsdmgmultiplyer', type:'int', label:'Weapon damage multiplyer=',defaultValue: 2}, //============Weapon 1Wild Swing loot============== {name:'weapon1wsdmgmultiplyeractive', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 1 Activate Damage(Weapon Cost) Multiplyer',defaultValue:'Yes'}, {name:'weapon1wschancesmin1', type:'int', minValue:1, maxValue:100, defaultValue:1, label: 'Weapon 1 loot 1 number min(1-100)='}, {name:'weapon1wschancesmax1', type:'int', minValue:1, maxValue:100, defaultValue:50, label: 'Weapon 1 loot 1 number max(1-100)='}, {name:'weapon1swlot2', type:'str', label:'Weapon 1 loot 2=',defaultValue: 'Spanks'}, {name:'weapon1wschancesmin2', type:'int', minValue:1, maxValue:100, defaultValue:51, label: 'Weapon 1 loot 2 number min(1-100)='}, {name:'weapon1wschancesmax2', type:'int', minValue:1, maxValue:100, defaultValue:75, label: 'Weapon 1 loot 2 number max(1-100)='}, {name:'weapon1swlot3', type:'str', label:'Weapon 1 loot 3=',defaultValue: 'Flash Ass'}, {name:'weapon1wschancesmin3', type:'int', minValue:1, maxValue:100, defaultValue:76, label: 'Weapon 1 loot 3 number min(1-100)='}, {name:'weapon1wschancesmax3', type:'int', minValue:76, maxValue:100, defaultValue:85, label: 'Weapon 1 loot 3 number max(1-100)='}, {name:'weapon1swlot4', type:'str', label:'Weapon 1 loot 4=',defaultValue: 'Flash Boobs'}, {name:'weapon1wschancesmin4', type:'int', minValue:1, maxValue:100, defaultValue:86, label: 'Weapon 1 loot 4 number min(1-100)='}, {name:'weapon1wschancesmax4', type:'int', minValue:1, maxValue:100, defaultValue:93, label: 'Weapon 1 loot 4 number max(1-100)='}, {name:'weapon1swlot5', type:'str', label:'Weapon 1 loot 5=',defaultValue: 'Flash Pussy'}, {name:'weapon1wschancesmin5', type:'int', minValue:1, maxValue:100, defaultValue:94, label: 'Weapon 1 loot 5 number min(1-100)='}, {name:'weapon1wschancesmax5', type:'int', minValue:1, maxValue:100, defaultValue:100, label: 'Weapon 1 loot 5 number max(1-100)='}, //============Weapon 2 Wild Swing loot============== {name:'weapon2wsdmgmultiplyeractive', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 2 Activate Damage(Weapon Cost) Multiplyer',defaultValue:'Yes'}, {name:'weapon2wschancesmin1', type:'int', minValue:1, maxValue:100, defaultValue:1, label: 'Weapon 2 loot 1 number min(1-100)='}, {name:'weapon2wschancesmax1', type:'int', minValue:1, maxValue:100, defaultValue:35, label: 'Weapon 2 loot 1 number max(1-100)='}, {name:'weapon2swlot2', type:'str', label:'Weapon 2 loot 2=',defaultValue: 'Spanks'}, {name:'weapon2wschancesmin2', type:'int', minValue:1, maxValue:100, defaultValue:37, label: 'Weapon 2 loot 2 number min(1-100)='}, {name:'weapon2wschancesmax2', type:'int', minValue:1, maxValue:100, defaultValue:65, label: 'Weapon 2 loot 2 number max(1-100)='}, {name:'weapon2swlot3', type:'str', label:'Weapon 2 loot 3=',defaultValue: 'Flash Ass'}, {name:'weapon2wschancesmin3', type:'int', minValue:1, maxValue:100, defaultValue:66, label: 'Weapon 2 loot 3 number min(1-100)='}, {name:'weapon2wschancesmax3', type:'int', minValue:66, maxValue:100, defaultValue:75, label: 'Weapon 2 loot 3 number max(1-100)='}, {name:'weapon2swlot4', type:'str', label:'Weapon 2 loot 4=',defaultValue: 'Flash Boobs'}, {name:'weapon2wschancesmin4', type:'int', minValue:1, maxValue:100, defaultValue:75, label: 'Weapon 2 loot 4 number min(1-100)='}, {name:'weapon2wschancesmax4', type:'int', minValue:1, maxValue:100, defaultValue:88, label: 'Weapon 2 loot 4 number max(1-100)='}, {name:'weapon2swlot5', type:'str', label:'Weapon 2 loot 5=',defaultValue: 'Flash Pussy'}, {name:'weapon2wschancesmin5', type:'int', minValue:1, maxValue:100, defaultValue:89, label: 'Weapon 2 loot 5 number min(1-100)='}, {name:'weapon2wschancesmax5', type:'int', minValue:1, maxValue:100, defaultValue:100, label: 'Weapon 2 loot 5 number max(1-100)='}, //============Weapon 3 Wild Swing loot============== {name:'weapon3wsdmgmultiplyeractive', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 3 Activate Damage(Weapon Cost) Multiplyer',defaultValue:'Yes'}, {name:'weapon3wschancesmin1', type:'int', minValue:1, maxValue:100, defaultValue:1, label: 'Weapon 3 loot 1 number min(1-100)='}, {name:'weapon3wschancesmax1', type:'int', minValue:1, maxValue:100, defaultValue:25, label: 'Weapon 3 loot 1 number max(1-100)='}, {name:'weapon3swlot2', type:'str', label:'Weapon 3 loot 2=',defaultValue: 'Flash Ass'}, {name:'weapon3wschancesmin2', type:'int', minValue:1, maxValue:100, defaultValue:25, label: 'Weapon 3 loot 2 number min(1-100)='}, {name:'weapon3wschancesmax2', type:'int', minValue:1, maxValue:100, defaultValue:45, label: 'Weapon 3 loot 2 number max(1-100)='}, {name:'weapon3swlot3', type:'str', label:'Weapon 3 loot 3=',defaultValue: 'Flash Boobs'}, {name:'weapon3wschancesmin3', type:'int', minValue:1, maxValue:100, defaultValue:46, label: 'Weapon 3 loot 3 number min(1-100)='}, {name:'weapon3wschancesmax3', type:'int', minValue:66, maxValue:100, defaultValue:65, label: 'Weapon 3 loot 3 number max(1-100)='}, {name:'weapon3swlot4', type:'str', label:'Weapon 3 loot 4=',defaultValue: 'Flash pussy'}, {name:'weapon3wschancesmin4', type:'int', minValue:1, maxValue:100, defaultValue:66, label: 'Weapon 3 loot 4 number min(1-100)='}, {name:'weapon3wschancesmax4', type:'int', minValue:1, maxValue:100, defaultValue:85, label: 'Weapon 3 loot 4 number max(1-100)='}, {name:'weapon3swlot5', type:'str', label:'Weapon 3 loot 5=',defaultValue: 'BJ Dildo'}, {name:'weapon3wschancesmin5', type:'int', minValue:1, maxValue:100, defaultValue:86, label: 'Weapon 3 loot 5 number min(1-100)='}, {name:'weapon3wschancesmax5', type:'int', minValue:1, maxValue:100, defaultValue:100, label: 'Weapon 3 loot 5 number max(1-100)='}, //============Weapon 4 Wild Swing loot============== {name:'weapon4wsdmgmultiplyeractive', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 4 Activate Damage(Weapon Cost) Multiplyer',defaultValue:'Yes'}, {name:'weapon4wschancesmin1', type:'int', minValue:1, maxValue:100, defaultValue:1, label: 'Weapon 4 loot 1 number min(1-100)='}, {name:'weapon4wschancesmax1', type:'int', minValue:1, maxValue:100, defaultValue:19, label: 'Weapon 4 loot 1 number max(1-100)='}, {name:'weapon4swlot2', type:'str', label:'Weapon 4 loot 2=',defaultValue: 'Naked 10 minutes'}, {name:'weapon4wschancesmin2', type:'int', minValue:1, maxValue:100, defaultValue:21, label: 'Weapon 4 loot 2 number min(1-100)='}, {name:'weapon4wschancesmax2', type:'int', minValue:1, maxValue:100, defaultValue:49, label: 'Weapon 4 loot 2 number max(1-100)='}, {name:'weapon4swlot3', type:'str', label:'Weapon 4 loot 3=',defaultValue: 'Finger Pussy Tease'}, {name:'weapon4wschancesmin3', type:'int', minValue:1, maxValue:100, defaultValue:50, label: 'Weapon 4 loot 3 number min(1-100)='}, {name:'weapon4wschancesmax3', type:'int', minValue:66, maxValue:100, defaultValue:75, label: 'Weapon 4 loot 3 number max(1-100)='}, {name:'weapon4swlot4', type:'str', label:'Weapon 4 loot 4=',defaultValue: 'Dildo Pussy Tease'}, {name:'weapon4wschancesmin4', type:'int', minValue:1, maxValue:100, defaultValue:76 , label: 'Weapon 4 loot 4 number min(1-100)='}, {name:'weapon4wschancesmax4', type:'int', minValue:1, maxValue:100, defaultValue:99, label: 'Weapon 4 loot 4 number max(1-100)='}, {name:'weapon4swlot5', type:'str', label:'Weapon 4 loot 5=',defaultValue: 'Month Snapchat'}, {name:'weapon4wschancesmin5', type:'int', minValue:1, maxValue:100, defaultValue:90, label: 'Weapon 4 loot 5 number min(1-100)='}, {name:'weapon4wschancesmax5', type:'int', minValue:1, maxValue:100, defaultValue:100, label: 'Weapon 4 loot 5 number max(1-100)='}, //============Weapon 5 Wild Swing loot============== {name:'weapon5wsdmgmultiplyeractive', type:'choice', choice1:'Yes', choice2:'No', label:'Weapon 5 Activate Damage(Weapon Cost) Multiplyer',defaultValue:'Yes'}, {name:'weapon5wschancesmin1', type:'int', minValue:1, maxValue:100, defaultValue:1, label: 'Weapon 5 loot 1 number min(1-100)='}, {name:'weapon5wschancesmax1', type:'int', minValue:1, maxValue:100, defaultValue:35, label: 'Weapon 5 loot 1 number max(1-100)='}, {name:'weapon5swlot2', type:'str', label:'Weapon 5 loot 2=',defaultValue: 'Dilido Pussy tease'}, {name:'weapon5wschancesmin2', type:'int', minValue:1, maxValue:100, defaultValue:37, label: 'Weapon 5 loot 2 number min(1-100)='}, {name:'weapon5wschancesmax2', type:'int', minValue:1, maxValue:100, defaultValue:65, label: 'Weapon 5 loot 2 number max(1-100)='}, {name:'weapon5swlot3', type:'str', label:'Weapon 5 loot 3=',defaultValue: '1 Month Snap'}, {name:'weapon5wschancesmin3', type:'int', minValue:1, maxValue:100, defaultValue:66, label: 'Weapon 5 loot 3 number min(1-100)='}, {name:'weapon5wschancesmax3', type:'int', minValue:66, maxValue:100, defaultValue:75, label: 'Weapon 5 loot 3 number max(1-100)='}, {name:'weapon4swlot4', type:'str', label:'Weapon 4 loot 4=',defaultValue: 'Naked 20 Minutes'}, {name:'weapon4wschancesmin4', type:'int', minValue:1, maxValue:100, defaultValue:75, label: 'Weapon 4 loot 4 number min(1-100)='}, {name:'weapon4wschancesmax4', type:'int', minValue:1, maxValue:100, defaultValue:94, label: 'Weapon 4 loot 4 number max(1-100)='}, {name:'weapon4swlot5', type:'str', label:'Weapon 4 loot 5=',defaultValue: 'Cum show'}, {name:'weapon4wschancesmin5', type:'int', minValue:1, maxValue:100, defaultValue:95, label: 'Weapon 4 loot 5 number min(1-100)='}, {name:'weapon4wschancesmax5', type:'int', minValue:1, maxValue:100, defaultValue:100, label: 'Weapon 4 loot 5 number max(1-100)='}, ] //=================TipFunctions=============== cb.onTip(function (tip) { tip_amount=parseInt(tip['amount']); for (var i = 1; i <= 5; i++) { if (tip_amount == parseInt(cb.settings['WC' + i])) { Bhit(tip_amount); cb.sendNotice('Boss now at '+BH); /* cb.sendNotice(tip['from_user'] + ' tipped for ' + cb.settings['item' + i],'','',cb.settings['noticecolor'],'bold');*/ } } }); //=================Boss Functions=============== //--Battle //--BHcheck //--BHA //--BHS //--BHMcheck //=====Battle=========== //checks what the bosses level is function Battle(){ BL=cb.settings['BstartL']; BH=BHMcheck(BL); } //=====Bhcheck=========== //checks what the bosses current health is function BHcheck(){ return (BH); } //----------------------------------------- //=====BHA============== //Add to bosses health function BHcheck(H){ BH=BH+H; } //----------------------------------------- //=====BHS============== //Sub to bosses health function BHcheck(H){ BH=BH-H; } //----------------------------------------- //=====BHMcheck============== //check the max heath for boss level function BHMcheck(BLi){ return(cb.settings['BHM'+BLi]); } //----------------------------------------- //=====change boss============== //change boss function Bchange(Dmg){ if(BL<5){ BL=BL++; if(cb.settings['DmgCarry']==Yes){ BH=BHMcheck(BL); BH=BH-Dmg; } else{ BH=BHMcheck(BL); } } } //----------------------------------------- //=====Bhit==============NOT DONE change boss lvl, check for carry over //bot is hit celc if changes boss or not remnder goes to next boss function Bhit(dmg){ BH=BH-dmg; if(BH<0){ Bchange(BH); } } //----------------------------------------- function init() { Battle(); var msg= 'Boss lvl is '+BL+'\nBoss Health is '+BH; cb.sendNotice(msg); Bhit(10); msg='health= '+BH; cb.sendNotice(msg); } init();
© Copyright Chaturbate 2011- 2024. All Rights Reserved.