Skip to content

Commit eb9d758

Browse files
Remove Rolling Charge
This ability still seems quite fun, but it seems like it'll work better as a spell (where it can combine with many different species in interesting ways) than as a species (where it only combines with a few backgrounds in distinctive ways). Let's move it out for now. Also remove Armataurs' innate sinv, since that only existed for Rolling Charge UI reasons.
1 parent ba81c32 commit eb9d758

File tree

17 files changed

+8
-347
lines changed

17 files changed

+8
-347
lines changed

crawl-ref/source/ability-type.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,11 @@ enum ability_type
5454
ABIL_SHAFT_SELF,
5555
// Barachim
5656
ABIL_HOP,
57+
#if TAG_MAJOR_VERSION == 34
5758
// Armataurs
5859
ABIL_ROLLING_CHARGE,
59-
// Air Walk
60+
#endif
61+
// Storm Form
6062
ABIL_BLINKBOLT,
6163
ABIL_MAX_INTRINSIC = ABIL_BLINKBOLT,
6264

crawl-ref/source/ability.cc

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,6 @@ static vector<ability_def> &_get_ability_list()
330330
0, 0, 0, -1, {}, abflag::delay },
331331
{ ABIL_HOP, "Hop",
332332
0, 0, 0, -1, {}, abflag::none }, // range special-cased
333-
{ ABIL_ROLLING_CHARGE, "Rolling Charge",
334-
0, 0, 0, -1, {}, abflag::none }, // range special-cased
335333
{ ABIL_BLINKBOLT, "Blinkbolt",
336334
0, 0, 0, LOS_MAX_RANGE, {}, abflag::none },
337335
#if TAG_MAJOR_VERSION == 34
@@ -705,9 +703,6 @@ int ability_range(ability_type abil)
705703
case ABIL_HOP:
706704
range = frog_hop_range();
707705
break;
708-
case ABIL_ROLLING_CHARGE:
709-
range = armataur_charge_range();
710-
break;
711706
case ABIL_DITHMENOS_SHADOW_STEP:
712707
range = you.umbra_radius();
713708
break;
@@ -1884,10 +1879,6 @@ static bool _check_ability_possible(const ability_def& abil, bool quiet = false)
18841879
case ABIL_HOP:
18851880
return _can_hop(quiet);
18861881

1887-
case ABIL_ROLLING_CHARGE:
1888-
return _can_movement_ability(quiet) &&
1889-
armataur_charge_possible(quiet, true);
1890-
18911882
case ABIL_WORD_OF_CHAOS:
18921883
if (you.duration[DUR_WORD_OF_CHAOS_COOLDOWN])
18931884
{
@@ -2537,12 +2528,6 @@ static spret _do_ability(const ability_def& abil, bool fail, dist *target,
25372528
else
25382529
return spret::abort;
25392530

2540-
case ABIL_ROLLING_CHARGE:
2541-
if (_can_movement_ability(false))
2542-
return armataur_charge(fail, target);
2543-
else
2544-
return spret::abort;
2545-
25462531

25472532
case ABIL_BLINKBOLT:
25482533
{
@@ -3679,8 +3664,6 @@ bool player_has_ability(ability_type abil, bool include_unusable)
36793664
&& (form_keeps_mutations() || include_unusable);
36803665
case ABIL_HOP:
36813666
return you.get_mutation_level(MUT_HOP);
3682-
case ABIL_ROLLING_CHARGE:
3683-
return you.get_mutation_level(MUT_ROLL);
36843667
case ABIL_BREATHE_POISON:
36853668
return you.get_mutation_level(MUT_SPIT_POISON) >= 2;
36863669
case ABIL_SPIT_POISON:
@@ -3758,7 +3741,6 @@ vector<talent> your_talents(bool check_confused, bool include_unusable, bool ign
37583741
ABIL_DIG,
37593742
ABIL_SHAFT_SELF,
37603743
ABIL_HOP,
3761-
ABIL_ROLLING_CHARGE,
37623744
ABIL_SPIT_POISON,
37633745
ABIL_BREATHE_FIRE,
37643746
ABIL_BREATHE_FROST,

crawl-ref/source/dat/descript/ability.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,6 @@ Shaft Self ability
106106
Sends you to a random position one to three floors down, as if you jumped into
107107
a shaft trap. It takes some time to dig the shaft.
108108
%%%%
109-
Rolling Charge ability
110-
111-
Rolls at a foe with a clatter of scales, then uncurls and strikes them in melee
112-
with increased accuracy. The greater the distance of the roll, the more
113-
momentum will be added to the force of your strike. You roll with sufficient
114-
speed to dodge traps and harmful terrain along the way, but not at your
115-
destination.
116-
%%%%
117109
Evoke Blink ability
118110

119111
Randomly translocates the user a short distance. Translocating in this way

crawl-ref/source/dat/descript/mutations.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -609,12 +609,6 @@ You have big, strong legs, allowing you to hop about with
609609
land. The second level of this mutation allows you to hop farther. Each time
610610
you hop, you need to rest for a bit before you can hop again.
611611
%%%%
612-
roll mutation
613-
614-
You can roll at nearby foes to attack with <input>$cmd[CMD_USE_ABILITY]</input>.
615-
Each level of this mutation increases the distance you can roll, though not the
616-
damage dealt.
617-
%%%%
618612
reflexive curl mutation
619613

620614
You curl up when struck, giving you protection against further attacks until

crawl-ref/source/dat/species/armataur.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ mutations:
4747
1:
4848
MUT_RUGGED_BROWN_SCALES: 3
4949
MUT_ARMOURED_TAIL: 1
50-
MUT_ACUTE_VISION: 1
5150
MUT_DEFORMED: 1
52-
MUT_ROLL: 1
5351
7:
5452
MUT_CURL: 1
5553
recommended_jobs:

crawl-ref/source/melee-attack.cc

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ melee_attack::melee_attack(actor *attk, actor *defn,
6969
::attack(attk, defn),
7070

7171
attack_number(attack_num), effective_attack_number(effective_attack_num),
72-
cleaving(is_cleaving), is_riposte(false), is_projected(false), roll_dist(0),
72+
cleaving(is_cleaving), is_riposte(false), is_projected(false),
7373
wu_jian_attack(WU_JIAN_ATTACK_NONE),
7474
wu_jian_number_of_targets(1)
7575
{
@@ -1449,14 +1449,6 @@ int melee_attack::player_apply_final_multipliers(int damage, bool aux)
14491449
// martial damage modifier (wu jian)
14501450
damage = martial_damage_mod(damage);
14511451

1452-
// Armataur rolling charge bonus
1453-
if (roll_dist > 0)
1454-
{
1455-
// + 1/3rd base per distance rolled, up to double at dist 3.
1456-
const int extra_dam = damage * roll_dist / 3;
1457-
damage += extra_dam > damage ? damage : extra_dam;
1458-
}
1459-
14601452
// not additive, statues are supposed to be bad with tiny toothpicks but
14611453
// deal crushing blows with big weapons
14621454
if (you.form == transformation::statue)
@@ -2211,10 +2203,6 @@ int melee_attack::post_roll_to_hit_modifiers(int mhit, bool random, bool aux)
22112203
if (you.duration[DUR_CONFUSING_TOUCH] && !aux)
22122204
modifiers += maybe_random_div(you.dex(), 2, random);
22132205

2214-
// Rolling charges feel bad when they miss, so make them miss less often.
2215-
if (roll_dist > 0)
2216-
modifiers += 5; // matching UC form to-hit bonuses
2217-
22182206
if (attacker->is_player() && !weapon && get_form()->unarmed_hit_bonus)
22192207
{
22202208
// TODO: Review this later (transformations getting extra hit

crawl-ref/source/melee-attack.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ class melee_attack : public attack
3838
bool cleaving; // additional attack from cleaving
3939
bool is_riposte; // long blade retaliation attack
4040
bool is_projected; // projected weapon spell attack
41-
int roll_dist; // armataur rolling charge distance
4241
wu_jian_attack_type wu_jian_attack;
4342
int wu_jian_number_of_targets;
4443
coord_def attack_position;

crawl-ref/source/mutation-data.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -939,6 +939,7 @@ static const mutation_def mut_data[] =
939939

940940
{"", "", ""},
941941
},
942+
#if TAG_MAJOR_VERSION == 34
942943

943944
// Armataur only
944945
{ MUT_ROLL, 8, 3, mutflag::good, true,
@@ -956,6 +957,7 @@ static const mutation_def mut_data[] =
956957
"You can no longer roll as far.",
957958
"You can no longer roll as far."},
958959
},
960+
#endif
959961

960962
{ MUT_ARMOURED_TAIL, 0, 1, mutflag::good, true,
961963
"armoured tail",

crawl-ref/source/mutation-type.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ enum mutation_type
238238
MUT_STRONG_NOSE,
239239
#if TAG_MAJOR_VERSION == 34
240240
MUT_ACID_RESISTANCE,
241-
#endif
242241
MUT_ROLL,
242+
#endif
243243
MUT_ARMOURED_TAIL,
244244
#if TAG_MAJOR_VERSION == 34
245245
MUT_BIG_BRAIN,

crawl-ref/source/mutation.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1769,10 +1769,6 @@ bool physiology_mutation_conflict(mutation_type mutat)
17691769
if (!you.has_innate_mutation(MUT_SPIT_POISON) && mutat == MUT_SPIT_POISON)
17701770
return true;
17711771

1772-
// Only Armataur can go on a roll.
1773-
if (!you.has_innate_mutation(MUT_ROLL) && mutat == MUT_ROLL)
1774-
return true;
1775-
17761772
// Only Draconians (and gargoyles) can get wings.
17771773
if (!species::is_draconian(you.species) && you.species != SP_GARGOYLE
17781774
&& mutat == MUT_BIG_WINGS)

0 commit comments

Comments
 (0)