Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007562 [DCSS] Patches minor have not tried 2013-09-17 16:08 2013-09-17 17:29
Reporter chris View Status public  
Assigned To neil
Priority normal Resolution done  
Status closed   Product Branch 0.13 ancient branch
Summary 0007562: Rename `che_stat_boost` to `chei_stat_boost`
Description
From 71a3ae4ffbabf912752e9a676745659bdf2f4e64 Mon Sep 17 00:00:00 2001
From: Chris Oelmueller <chris.oelmueller@gmail.com>
Date: Thu, 5 Sep 2013 05:29:55 +0200
Subject: Rename `che_stat_boost` to `chei_stat_boost`
---
 crawl-ref/source/godpassive.cc   | 2 +-
 crawl-ref/source/godpassive.h    | 2 +-
 crawl-ref/source/player-stats.cc | 6 +++---
 crawl-ref/source/religion.cc     | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/crawl-ref/source/godpassive.cc b/crawl-ref/source/godpassive.cc
index 4e8d314..bf45069 100644
--- a/crawl-ref/source/godpassive.cc
+++ b/crawl-ref/source/godpassive.cc
@@ -26,7 +26,7 @@
 #include "skills2.h"
 #include "state.h"
 
-int che_stat_boost(int piety)
+int chei_stat_boost(int piety)
 {
     if (!you_worship(GOD_CHEIBRIADOS) || you.penance[GOD_CHEIBRIADOS])
         return 0;
diff --git a/crawl-ref/source/godpassive.h b/crawl-ref/source/godpassive.h
index 4692481..c2a61b1 100644
--- a/crawl-ref/source/godpassive.h
+++ b/crawl-ref/source/godpassive.h
@@ -19,7 +19,7 @@ enum jiyva_slurp_results
         JS_MP   = 4,
 };
 
-int che_stat_boost(int piety = you.piety);
+int chei_stat_boost(int piety = you.piety);
 void jiyva_eat_offlevel_items();
 void jiyva_slurp_bonus(int item_value, int *js);
 void jiyva_slurp_message(int js);
diff --git a/crawl-ref/source/player-stats.cc b/crawl-ref/source/player-stats.cc
index 625879c..dc2abbf 100644
--- a/crawl-ref/source/player-stats.cc
+++ b/crawl-ref/source/player-stats.cc
@@ -360,7 +360,7 @@ static int _strength_modifier()
     if (you.duration[DUR_DIVINE_STAMINA])
         result += you.attribute[ATTR_DIVINE_STAMINA];
 
-    result += che_stat_boost();
+    result += chei_stat_boost();
 
     if (!you.suppressed())
     {
@@ -406,7 +406,7 @@ static int _int_modifier()
     if (you.duration[DUR_DIVINE_STAMINA])
         result += you.attribute[ATTR_DIVINE_STAMINA];
 
-    result += che_stat_boost();
+    result += chei_stat_boost();
 
     if (!you.suppressed())
     {
@@ -437,7 +437,7 @@ static int _dex_modifier()
     if (you.duration[DUR_DIVINE_STAMINA])
         result += you.attribute[ATTR_DIVINE_STAMINA];
 
-    result += che_stat_boost();
+    result += chei_stat_boost();
 
     if (!you.suppressed())
     {
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index e6b91a5..2372a9b 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -2755,7 +2755,7 @@ static void _gain_piety_point()
     }
 
     if (you_worship(GOD_CHEIBRIADOS)
-        && che_stat_boost(old_piety) < che_stat_boost())
+        && chei_stat_boost(old_piety) < chei_stat_boost())
     {
         simple_god_message(" raises the support of your attributes as your movement slows.&quo
t;);
         notify_stat_change("Cheibriados piety gain");
@@ -2911,7 +2911,7 @@ void lose_piety(int pgn)
     }
 
     if (you_worship(GOD_CHEIBRIADOS)
-        && che_stat_boost(old_piety) > che_stat_boost())
+        && chei_stat_boost(old_piety) > chei_stat_boost())
     {
         simple_god_message(" reduces the support of your attributes as your movement quickens.
");
         notify_stat_change("Cheibriados piety loss");
-- 
1.8.4
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0024039)
neil (administrator)
2013-09-17 17:26

Applied in trunk (0.13-a0-3078-g0b54694), thanks!
(0024041)
chris (updater)
2013-09-17 17:29

There's gotta be a way that just closes tickets w/patches instead of requiring me to confirm?

- Issue History
Date Modified Username Field Change
2013-09-17 16:08 chris New Issue
2013-09-17 17:26 neil Note Added: 0024039
2013-09-17 17:26 neil Status new => resolved
2013-09-17 17:26 neil Fixed in Branch => 0.13 development branch
2013-09-17 17:26 neil Resolution open => done
2013-09-17 17:26 neil Assigned To => neil
2013-09-17 17:29 chris Note Added: 0024041
2013-09-17 17:29 chris Status resolved => closed


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker