monk vs shuriken
One entry among many in #H4216: make shuriken be a pre-discovered item for monk role. The word "shuriken" comes from Japanese and martial-arts monk is primarily Chinese, but shuriken/throwing-star is a martial-arts type of weapon and monks get a multi-shot bonus for it (even though they can't advance its skill beyond basic...).
This commit is contained in:
+3
-1
@@ -218,7 +218,8 @@ allow knife and stiletto as possible tin opening tools
|
|||||||
wizard mode #wizintrinsic command
|
wizard mode #wizintrinsic command
|
||||||
additional tribute passages for The Colour of Magic, The Light Fantastic,
|
additional tribute passages for The Colour of Magic, The Light Fantastic,
|
||||||
Equal Rites, Mort, Sourcery, Wyrd Sisters, Pyramids, Guards! Guards!,
|
Equal Rites, Mort, Sourcery, Wyrd Sisters, Pyramids, Guards! Guards!,
|
||||||
Eric, Moving Pictures, Reaper Man, Snuff, and Raising Steam
|
Eric, Moving Pictures, Reaper Man, Witches Abroad, Snuff, and
|
||||||
|
Raising Steam
|
||||||
compile-time options SIMPLE_MAIL and SERVER_ADMIN_MSG for public server use
|
compile-time options SIMPLE_MAIL and SERVER_ADMIN_MSG for public server use
|
||||||
database entries for Cleaver, Sunsword, Frost and Fire brands, and
|
database entries for Cleaver, Sunsword, Frost and Fire brands, and
|
||||||
polymorph trap
|
polymorph trap
|
||||||
@@ -230,6 +231,7 @@ add extended command #kick
|
|||||||
when choosing an inventory item and '-' for bare-hands/fingers/no-ammo is a
|
when choosing an inventory item and '-' for bare-hands/fingers/no-ammo is a
|
||||||
choice, include that in the inventory menu if player types '?' or '*'
|
choice, include that in the inventory menu if player types '?' or '*'
|
||||||
feedback from probing of long worm now includes number of segments it has
|
feedback from probing of long worm now includes number of segments it has
|
||||||
|
monk starts with 'shuriken' pre-discovered (despite language issue...)
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific New Features
|
Platform- and/or Interface-Specific New Features
|
||||||
|
|||||||
+8
-14
@@ -701,31 +701,25 @@ u_init()
|
|||||||
ini_inv(Knight);
|
ini_inv(Knight);
|
||||||
knows_class(WEAPON_CLASS);
|
knows_class(WEAPON_CLASS);
|
||||||
knows_class(ARMOR_CLASS);
|
knows_class(ARMOR_CLASS);
|
||||||
/* give knights chess-like mobility
|
/* give knights chess-like mobility--idea from wooledge@..cwru.edu */
|
||||||
* -- idea from wooledge@skybridge.scl.cwru.edu */
|
|
||||||
HJumping |= FROMOUTSIDE;
|
HJumping |= FROMOUTSIDE;
|
||||||
skill_init(Skill_K);
|
skill_init(Skill_K);
|
||||||
break;
|
break;
|
||||||
case PM_MONK:
|
case PM_MONK: {
|
||||||
switch (rn2(90) / 30) {
|
static short M_spell[] = { SPE_HEALING, SPE_PROTECTION, SPE_SLEEP };
|
||||||
case 0:
|
|
||||||
Monk[M_BOOK].trotyp = SPE_HEALING;
|
Monk[M_BOOK].trotyp = M_spell[rn2(90) / 30]; /* [0..2] */
|
||||||
break;
|
|
||||||
case 1:
|
|
||||||
Monk[M_BOOK].trotyp = SPE_PROTECTION;
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
Monk[M_BOOK].trotyp = SPE_SLEEP;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
ini_inv(Monk);
|
ini_inv(Monk);
|
||||||
if (!rn2(5))
|
if (!rn2(5))
|
||||||
ini_inv(Magicmarker);
|
ini_inv(Magicmarker);
|
||||||
else if (!rn2(10))
|
else if (!rn2(10))
|
||||||
ini_inv(Lamp);
|
ini_inv(Lamp);
|
||||||
knows_class(ARMOR_CLASS);
|
knows_class(ARMOR_CLASS);
|
||||||
|
/* sufficiently martial-arts oriented item to ignore language issue */
|
||||||
|
knows_object(SHURIKEN);
|
||||||
skill_init(Skill_Mon);
|
skill_init(Skill_Mon);
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
case PM_PRIEST:
|
case PM_PRIEST:
|
||||||
ini_inv(Priest);
|
ini_inv(Priest);
|
||||||
if (!rn2(10))
|
if (!rn2(10))
|
||||||
|
|||||||
Reference in New Issue
Block a user