| 749 | } |
| 750 | |
| 751 | bool effect(bool was_known = true, int=40, bool is_potion = true) const override |
| 752 | { |
| 753 | if (you.form == transformation::death) // Gozag potion petition |
| 754 | { |
| 755 | mpr("You're too dead to put down roots!"); |
| 756 | return false; |
| 757 | } |
| 758 | const int dur = _scale_pot_duration(15 + random2(30) + random2(15), is_potion); |
| 759 | return transform(dur, transformation::tree, !was_known); |
| 760 | } |
| 761 | |
| 762 | bool quaff(bool was_known) const override |
| 763 | { |
nothing calls this directly
no test coverage detected