mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-12 16:37:19 +01:00
Martial arts improvements and additions (#6094)
-adds framework for weapons based martial arts, implementing a very basic swordsmanship -makes the martial art books more modular -fixes some minor issues with some of the martial art code -adds amohdan swordsmen gear, to be used in a future event/sold by the merchant - fixes #6083
This commit is contained in:
@@ -15,10 +15,11 @@ emp_act
|
||||
if(species_check)
|
||||
return species_check
|
||||
|
||||
if(martial_art && martial_art.deflection_chance)
|
||||
if(prob(martial_art.deflection_chance))
|
||||
src.visible_message("<span class='danger'>\The [src] deflects \the [P]!</span>")
|
||||
return 0
|
||||
if(!is_physically_disabled())
|
||||
if(martial_art && martial_art.deflection_chance)
|
||||
if(prob(martial_art.deflection_chance))
|
||||
src.visible_message("<span class='danger'>\The [src] deflects \the [P]!</span>")
|
||||
return 0
|
||||
|
||||
def_zone = check_zone(def_zone)
|
||||
if(!has_organ(def_zone))
|
||||
|
||||
Reference in New Issue
Block a user