[charactermanager] r366 committed - corrected Sorceror spells known calculation on the edit_spells page

1 view
Skip to first unread message

codesite...@google.com

unread,
Oct 16, 2009, 10:09:57 PM10/16/09
to characterman...@googlegroups.com
Revision: 366
Author: todd.chambery
Date: Fri Oct 16 19:09:08 2009
Log: corrected Sorceror spells known calculation on the edit_spells page
http://code.google.com/p/charactermanager/source/detail?r=366

Modified:
/trunk/charmgrjs/classes.js
/trunk/charmgrjs/edit_spells.js
/trunk/charmgrjs/resources/felonious.grendel
/trunk/charmgrjs/special_abilities.js

=======================================
--- /trunk/charmgrjs/classes.js Wed Oct 14 14:50:27 2009
+++ /trunk/charmgrjs/classes.js Fri Oct 16 19:09:08 2009
@@ -143,6 +143,7 @@
ref_save: [2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11,
11, 12],
will_save: [2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11,
11, 12],
special: [[{ special_id: 31 }, { special_id: 32 }], [{ special_id: 33
}], [{ special_id: 34 }], [{ special_id: 35, mod: '(magic)' }, {
special_id: 36, mod: '20 ft.'}], [{ special_id: 37 }], [{ special_id: 36,
mod: '30 ft.' }] , [{ special_id: 38 }], [{ special_id: 36, mod: '40
ft.'}], [{ special_id: 39 }], [{ special_id: 35, mod: '(lawful)' }, {
special_id: 36, mod: '50 ft.'}], [{ special_id: 40 }, { special_id: 41 }],
[{ special_id: 43 }, { special_id: 36, mod: '60 ft.' }], [{ special_id: 42
}], [{ special_id: 36, mod: '70 ft.'}], [{ special_id: 44 }], [{
special_id: 35, mod: '(adamantine)' }, { special_id: 36, mod: '80 ft.'}],
[{ special_id: 30 }, { special_id: 45 }], [{ special_id: 36, mod: '90
ft.'}], [{ special_id: 46 }], [{ special_id: 47 }, { special_id: 36,
mod: 'any distance'}]],
+ flurry_of_blows:
['-2/-2','-1/-1','0/0','1/1','2/2','3/3','4/4','5/5/0','6/6/1','7/7/2','8/8/8/3','9/9/9/4','9/9/9/4','10/10/10/5','11/11/11/6/1','12/12/12/7/2','12/12/12/7/2','13/13/13/8/3','14/14/14/9/4','15/15/15/10/5'],
spells: [],
spells_per_day: [],
spells_known: [],
=======================================
--- /trunk/charmgrjs/edit_spells.js Wed Oct 14 14:50:27 2009
+++ /trunk/charmgrjs/edit_spells.js Fri Oct 16 19:09:08 2009
@@ -21,7 +21,7 @@
+ i
+ "</div><div id='spells_remaining_"
+ i
- + "' style='float: right; font-size: x-small; background-color:
#8DC3E9'></div><div style='clear: both'></div>";
+ + "' style='float: right; font-size: x-small; background-color:
#8DC3E9'>" + spell_selections_remaining + "</div><div style='clear:
both'></div>";
spells_html += "<div id='spells_" + i
+ "'><table style='border: 1px solid #D0D0D0' width='100%' border='0'
margin='0'><tr><tr>";
for ( var j in clazz.spells[i]) {
=======================================
--- /trunk/charmgrjs/resources/felonious.grendel Thu Oct 15 19:00:34 2009
+++ /trunk/charmgrjs/resources/felonious.grendel Fri Oct 16 19:09:08 2009
@@ -1,1 +1,1 @@
-{"name":"Felonious","xp":"30990","hp":"46","race_id":"4","class_id":"7","alignment_id":"0","goodness_id":"0","deity_id":"0","domain_id":"0","weapon_style":"archery","abilities":{"0":"16","1":"22","2":"10","3":"13","4":"12","5":"13"},"weapons":{"0":{"weapon_id":"34","name":"Mithrandir's","damage":"1d8","critical":"x3","note":"+1
(more)
vs Giant/Goblin kin,
light/dark/fire","attack":"+2","dam":"1d8+2","crit":"x3","att":"+2"},"1":{"weapon_id":"48","name":"Rapier","dam":"1d6","crit":"18-20/x2"}},"armor":{"0":{"armor_id":"1"}},"feats":[{"feat_id":49},{"feat_id":51},{"feat_id":35},{"feat_id":74}],"log":{"0":"b240bfef","1":"14267602","2":"e198b030","3":"5a36dd3c"}}`{"id":"b240bfef","xp":"26040","hp":"42","date":1249531200000,"note":"After
the
outpost."},{"id":"14267602","xp":"27340","hp":"42","date":1251950400000,"note":"Siege
at the outpost with
Thain."},{"id":"e198b030","xp":"28340","hp":"46","date":1254974400000,"note":"Arrived
in Rockholm, sequestered in a pub. Audience with the king after the feast,
but no headway with the high priest. Journey through the tunnel to
Soulforge."},{"id":"5a36dd3c","xp":"30990","hp":"46","date":1255492800000,"note":"Month-long
journey through the tunnel on lizards. Near drowning in accident caused by
claustrophobic madness. Soulforge sacked and overrun by undead dwarves and
forest creatures."}
+{"name":"Felonious","xp":"30990","hp":"46","race_id":"4","class_id":"7","alignment_id":"0","goodness_id":"0","deity_id":"0","domain_id":"0","weapon_style":"archery","abilities":{"0":"16","1":"22","2":"10","3":"13","4":"12","5":"13"},"weapons":{"0":{"weapon_id":"34","name":"Mithrandir's","damage":"1d8","critical":"x3","note":"+1
(more)
vs Giant/Goblin kin,
light/dark/fire","attack":"+2","dam":"1d8+2","crit":"x3","att":"+2"},"1":{"weapon_id":"48","name":"Rapier","dam":"1d6","crit":"18-20/x2"}},"armor":{"0":{"armor_id":"1"}},"feats":[{"feat_id":49},{"feat_id":51},{"feat_id":35},{"feat_id":74}],"log":{"0":"b240bfef","1":"14267602","2":"e198b030","3":"5a36dd3c"},"languages":{"0":7},"skills":[{"skill_id":0,"ranks":"2"},{"skill_id":3,"ranks":"2"},{"skill_id":4,"ranks":"7"},{"skill_id":10,"ranks":"4"},{"skill_id":13,"ranks":"2"},{"skill_id":15,"ranks":"7"},{"skill_id":17,"ranks":"5"},{"skill_id":21,"ranks":"1"},{"skill_id":24,"ranks":"1"},{"skill_id":28,"ranks":"6"},{"skill_id":29,"ranks":"4"},{"skill_id":34,"ranks":"2"},{"skill_id":35,"ranks":"3"},{"skill_id":39,"ranks":"7"},{"skill_id":42,"ranks":"5"},{"skill_id":44,"ranks":"1"},{"skill_id":1,"ranks":"2"},{"skill_id":33,"ranks":"2"},{"skill_id":43,"ranks":"2"}]}`{"id":"b240bfef","xp":"26040","hp":"42","date":1249531200000,"note":"After
the
outpost."},{"id":"14267602","xp":"27340","hp":"42","date":1251950400000,"note":"Siege
at the outpost with
Thain."},{"id":"e198b030","xp":"28340","hp":"46","date":1254974400000,"note":"Arrived
in Rockholm, sequestered in a pub. Audience with the king after the feast,
but no headway with the high priest. Journey through the tunnel to
Soulforge."},{"id":"5a36dd3c","xp":"30990","hp":"46","date":1255492800000,"note":"Month-long
journey through the tunnel on lizards. Near drowning in accident caused by
claustrophobic madness. Soulforge sacked and overrun by undead dwarves and
forest creatures."}
=======================================
--- /trunk/charmgrjs/special_abilities.js Wed Oct 14 14:50:27 2009
+++ /trunk/charmgrjs/special_abilities.js Fri Oct 16 19:09:08 2009
@@ -146,7 +146,7 @@
}, {
id: 31,
name: "Flurry of Blows",
- detail: ""
+ detail: "When unarmored, a monk may strike with a flurry of blows at the
expense of accuracy. When doing so, she may make one extra attack in a
round at her highest base attack bonus, but this attack takes a –2 penalty,
as does each other attack made that round. The resulting modified base
attack bonuses are shown in the Flurry of Blows Attack Bonus column on
Table 3–10: The Monk. This penalty applies for 1 round, so it also affects
attacks of opportunity the monk might make before her next action. When a
monk reaches 5th level, the penalty lessens to –1, and at 9th level it
disappears. A monk must use a full attack action (see page 143) to strike
with a flurry of blows. <p class=sub>When using flurry of blows, a monk may
attack only with unarmed strikes or with special monk weapons (kama,
nunchaku, quarterstaff, sai, shuriken, and siangham). She may attack with
unarmed strikes and special monk weapons interchangeably as desired. For
example, at 6th level, the monk Ember could make one attack with her
unarmed strike at an attack bonus of +3 and one attack with a special monk
weapon at an attack bonus of +3. When using weapons as part of a flurry of
blows, a monk applies her Strength bonus (not Str bonus × 1-1/2 or × 1/2)
to her damage rolls for all successful attacks, whether she wields a weapon
in one or both hands. The monk can’t use any weapon other than a special
monk weapon as part of a flurry of blows. <p class=sub>In the case of the
quarterstaff, each end counts as a separate weapon for the purpose of using
the flurry of blows ability. Even though the quarterstaff requires two
hands to use, a monk may still intersperse unarmed strikes with
quarterstaff strikes, assuming that she has enough attacks in her flurry of
blows routine to do so. For example, an 8th-level monk could make two
attacks with the quarterstaff (one with each end) at a +5 attack bonus and
one with an unarmed strike at a +0 attack bonus, or she could attack with
one end of the quarterstaff and one unarmed strike each at a +5 attack
bonus, and with the other end of the quarterstaff at a +0 attack bonus, or
she could attack with one end of the quarterstaff and one unarmed strike at
a +5 attack bonus each, and with the other end of the quarterstaff at a +0
attack bonus. She cannot, however, wield any other weapon at the same time
that she uses a quarterstaff. <p class=sub>When a monk reaches 11th level,
her flurry of blows ability improves. In addition to the standard single
extra attack she gets from flurry of blows, she gets a second extra attack
at her full base attack bonus."
}, {
id: 32,
name: "Unarmed Strike",
Reply all
Reply to author
Forward
0 new messages