float crimbocamp() {
int[item] camp = get_campground();
int crimbo09=0;
if(camp[$item[crimbo wreath]]==1) crimbo09=crimbo09+1;
if(camp[$item[gingerbread house]]==1) crimbo09=crimbo09+1;
if(camp[$item[plastic crimbo reindeer]]==1) crimbo09=crimbo09+1;
if(camp[$item[string of crimbo lights]]==1) crimbo09=crimbo09+1;
int b=0;
switch(crimbo09){
case(1): b=5;
case(2): b=10;
case(3): b=20;
case(4): b=50; // In the event that you have all the items.
}
return b;
}
I don't think you can choose whether UR uses free disco naps or not.
My bad, I didn't have Mafia running when I posted this, and I didn't remember that option. I guess there is a simply solution to VinnyB's problem then."Free Disco Rest" is configurable in both hardcore and mallcore modes.
> Restoring HP! Currently at 1 of 65 HP, 98 of 165 MP, current meat: 321 ... Target HP = 49.
[2036] Rest in Clan Sofa (48 turns)
You gain 64 hit points
You gain 19 Mana Points
> Calling Universal Recovery for type=HP, amount=0
> Restoring HP! Currently at 5 of 66 HP, 119 of 165 MP, current meat: 108 ... Target HP = 50.
> Trying to fullheal
> Try to heal HP from inventory.
> Trying to fullheal
> Try to heal HP with skills.
[2088] Rest in Clan Sofa (9 turns)
You gain 61 hit points
You gain 37 Mana Points
cafebabe_20100805.txt:[1605] Rest in Clan Sofa (2 turns)
cafebabe_20100805.txt:[1618] Rest in Clan Sofa (1 turns)
cafebabe_20100805.txt:[1637] Rest in Clan Sofa (1 turns)
cafebabe_20100805.txt:[1647] Rest in Clan Sofa (2 turns)
cafebabe_20100805.txt:[1651] Rest in Clan Sofa (1 turns)
cafebabe_20100805.txt:[1663] Rest in Clan Sofa (1 turns)
cafebabe_20100805.txt:[1672] Rest in Clan Sofa (1 turns)
cafebabe_20100806.txt:[1683] Rest in Clan Sofa (1 turns)
cafebabe_20100806.txt:[1695] Rest in Clan Sofa (2 turns)
cafebabe_20100806.txt:[1698] Rest in Clan Sofa (1 turns)
cafebabe_20100806.txt:[1710] Rest in Clan Sofa (1 turns)
cafebabe_20100806.txt:[1719] Rest in Clan Sofa (2 turns)
cafebabe_20100806.txt:[1727] Rest in Clan Sofa (1 turns)
cafebabe_20100806.txt:[1731] Rest in Clan Sofa (1 turns)
cafebabe_20100806.txt:[1739] Rest in Clan Sofa (1 turns)
cafebabe_20100806.txt:[1745] Rest in Clan Sofa (1 turns)
cafebabe_20100807.txt:[1750] Rest in Clan Sofa (48 turns)
cafebabe_20100807.txt:[1802] Rest in Clan Sofa (19 turns)
cafebabe_20100809.txt:[1928] Rest in Clan Sofa (67 turns)
cafebabe_20100809.txt:[2012] Rest in Clan Sofa (18 turns)
cafebabe_20100810.txt:[2036] Rest in Clan Sofa (48 turns)
cafebabe_20100810.txt:[2088] Rest in Clan Sofa (9 turns)
House gives ~40 MP and HP while the sofa gives roughly level times 5 of each so above level 12 I guess that the sofa is better.
Thanks. You saved me a trip to the wiki.
cast 7 Summon Party Favor
You acquire an item: divine champagne flute
You acquire an item: divine blowout
You acquire an item: divine noisemaker
You acquire an item: divine can of silly string
You acquire an item: divine can of silly string
You acquire an item: divine blowout
You acquire an item: divine noisemaker
> Restoring MP! Currently at 162 of 162 HP, 21 of 297 MP, current meat: 37721 ... Target MP = 27.
use 1 carbonated water lily
You gain 63 Mana Points
cast 1 Summon Party Favor
You acquire an item: divine noisemaker
> Summons today: Hearts(0) Favors(8) Songs(0) BRICKOs(0)
cast 7 Summon Party Favor
...
> Restoring MP! Currently at 162 of 162 HP, 21 of 297 MP, current meat: 37721 ... Target MP = 27.
use 1 carbonated water lily
You gain 63 Mana Points
cast 1 Summon Party Favor
int x = (target - my_mp())/ my_level()*5;
x = [b]max[/b](x, my_adventures());
Which is exactly how I have it set. Mafia doesn't currently have an option to have it set to completely disable, just "@ 100%" and "do not rebalance". Mafia never kicks in for casting buffs, only my scripts do.Um, if you're using LibramBurn.ash, why are you using mafia's manaburning at all? I thought you were supposed to disable manaburn within mafia and allow libramburn to burn as your mana is generated up to a certain threshold which you set within the script itself?
Which is exactly how I have it set. Mafia doesn't currently have an option to have it set to completely disable, just "@ 100%" and "do not rebalance". Mafia never kicks in for casting buffs, only my scripts do.
Maybe there's a bug in libramBurn if it's asking for 8 casting when I can only cast 7. I do have the MP threshold set to 0 MP. Might have something to do with it.
libramburn_minmp 400
libramburn_summonbrickos true
libramburn_summonfavors false
libramburn_summonhearts false
libramburn_summoninhc false
libramburn_summonsongs false
> prefref manaburn
manaBurnSummonThreshold (user, now '10', default 10)
manaBurningThreshold (user, now '-0.05', default -0.05)
manaBurningTrigger (user, now '-0.05', default -0.05)