Traits and races
- Vahnatai race implemented - Pacifist trait implemented - New trait: Anama - classified as a disadvantage but also has some perks - PCs with bug race now immune to web fields - PCs with undead/demon races now do that type of damage on unarmed attacks The new races and traits probably still need some work/balancing.
This commit is contained in:
@@ -626,7 +626,7 @@ static void put_monst_info_in_dlog(cDialog& me, cMonster& monst, mon_num_t which
|
||||
break;
|
||||
}
|
||||
|
||||
me["type"].setText(get_str("traits",33 + int(monst.m_type) * 2));
|
||||
me["type"].setText(get_str("traits",35 + int(monst.m_type) * 2));
|
||||
me["type1"].setText(get_str("monster-abilities",130 + int(monst.a[0].type)));
|
||||
me["type2"].setText(get_str("monster-abilities",130 + int(monst.a[1].type)));
|
||||
me["type3"].setText(get_str("monster-abilities",130 + int(monst.a[2].type)));
|
||||
@@ -1068,7 +1068,7 @@ static void fill_monst_abil_detail(cDialog& me, cMonster& monst, eMonstAbil abil
|
||||
switch(detail.summon.type) {
|
||||
case eMonstSummon::TYPE: me["summon"].setText(scenario.scen_monsters[detail.summon.what].m_name); break;
|
||||
case eMonstSummon::LEVEL: me["summon"].setTextToNum(detail.summon.what); break;
|
||||
case eMonstSummon::SPECIES: me["summon"].setText(get_str("traits", detail.summon.what * 2 + 33)); break;
|
||||
case eMonstSummon::SPECIES: me["summon"].setText(get_str("traits", detail.summon.what * 2 + 35)); break;
|
||||
}
|
||||
me["max"].setTextToNum(detail.summon.max);
|
||||
me["min"].setTextToNum(detail.summon.min);
|
||||
|
@@ -245,13 +245,13 @@ short choose_text(eStrType list, unsigned short cur_choice, cDialog* parent, std
|
||||
strings.push_back("Maximum Spell Points");
|
||||
break;
|
||||
case STRT_TRAIT:
|
||||
for(int i = 0; i < 16; i++) {
|
||||
for(int i = 0; i < 17; i++) {
|
||||
strings.push_back(get_str("traits", i * 2 + 1));
|
||||
}
|
||||
break;
|
||||
case STRT_RACE:
|
||||
for(int i = 0; i < 22; i++) {
|
||||
strings.push_back(get_str("traits", i * 2 + 33));
|
||||
strings.push_back(get_str("traits", i * 2 + 35));
|
||||
}
|
||||
break;
|
||||
case STRT_PICT:
|
||||
|
Reference in New Issue
Block a user