Pikachuun
the entire waruda machine
Change the drain flag from [1, 2] to [1, 1]. It's a ratio.a brief programming question:
how do I make it so leech life heals 100% of damage dealt (instead of 50%)? the ways I tried either yielded errors or just made it stop healing altogether. :xCode:"leechlife": { num: 141, accuracy: 100, basePower: 20, category: "Physical", desc: "The user recovers 1/2 the HP lost by the target, rounded half up. If Big Root is held by the user, the HP recovered is 1.3x normal, rounded half down.", shortDesc: "User recovers 50% of the damage dealt.", id: "leechlife", name: "Leech Life", pp: 15, priority: 0, flags: {contact: 1, protect: 1, mirror: 1, heal: 1}, drain: [1, 2], secondary: false, target: "normal", type: "Bug" },