Skip to content

Commit

Permalink
[Magiclysm] Attunements - Railgun spell (#44684)
Browse files Browse the repository at this point in the history
  • Loading branch information
KorGgenT authored Oct 8, 2020
1 parent a3ea909 commit 55058e0
Show file tree
Hide file tree
Showing 2 changed files with 222 additions and 0 deletions.
221 changes: 221 additions & 0 deletions data/mods/Magiclysm/Spells/attunements/Magnetism_Mage.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,221 @@
[
{
"id": "railgun_bullet",
"type": "requirement",
"components": [
[
[ "5x50dart", 1 ],
[ "5x50heavy", 1 ],
[ "reloaded_5x50dart", 1 ],
[ "8mm_bootleg", 1 ],
[ "8mm_caseless", 1 ],
[ "8mm_civilian", 1 ],
[ "8mm_fmj", 1 ],
[ "8mm_hvp", 1 ],
[ "8mm_inc", 1 ],
[ "8mm_jhp", 1 ],
[ "9mm", 1 ],
[ "9mmfmj", 1 ],
[ "9mmP", 1 ],
[ "9mmP2", 1 ],
[ "bp_9mm", 1 ],
[ "bp_9mmfmj", 1 ],
[ "reloaded_9mm", 1 ],
[ "reloaded_9mmfmj", 1 ],
[ "reloaded_9mmP", 1 ],
[ "reloaded_9mmP2", 1 ],
[ "9x18mm", 1 ],
[ "9x18mmP2", 1 ],
[ "9x18mmfmj", 1 ],
[ "bp_9x18mm", 1 ],
[ "bp_9x18mmfmj", 1 ],
[ "reloaded_9x18mm", 1 ],
[ "reloaded_9x18mmP2", 1 ],
[ "reloaded_9x18mmfmj", 1 ],
[ "10mm_fmj", 1 ],
[ "bp_10mm_fmj", 1 ],
[ "reloaded_10mm_fmj", 1 ],
[ "12mm", 1 ],
[ "reloaded_10mm_fmj", 1 ],
[ "20x66_bootleg_flechette", 1 ],
[ "20x66_bootleg_slug", 1 ],
[ "20x66_flechette", 1 ],
[ "20x66_slug", 1 ],
[ "22_cb", 1 ],
[ "22_fmj", 1 ],
[ "22_lr", 1 ],
[ "22_ratshot", 1 ],
[ "bp_22_fmj", 1 ],
[ "bp_22_lr", 1 ],
[ "reloaded_22_lr", 1 ],
[ "reloaded_22_fmj", 1 ],
[ "32_acp", 1 ],
[ "bp_32_acp", 1 ],
[ "reloaded_32_acp", 1 ],
[ "38_fmj", 1 ],
[ "38_special", 1 ],
[ "38_super", 1 ],
[ "reloaded_38_fmj", 1 ],
[ "reloaded_38_special", 1 ],
[ "reloaded_38_super", 1 ],
[ "bp_38_fmj", 1 ],
[ "bp_38_special", 1 ],
[ "38super_fmj", 1 ],
[ "reloaded_38super_fmj", 1 ],
[ "40fmj", 1 ],
[ "40sw", 1 ],
[ "bp_40fmj", 1 ],
[ "bp_40sw", 1 ],
[ "reloaded_40fmj", 1 ],
[ "reloaded_40sw", 1 ],
[ "44fmj", 1 ],
[ "44magnum", 1 ],
[ "reloaded_44fmj", 1 ],
[ "reloaded_44magnum", 1 ],
[ "bp_44magnum", 1 ],
[ "bp_44fmj", 1 ],
[ "45_acp", 1 ],
[ "45_jhp", 1 ],
[ "45_super", 1 ],
[ "bp_45_acp", 1 ],
[ "bp_45_jhp", 1 ],
[ "reloaded_45_acp", 1 ],
[ "reloaded_45_jhp", 1 ],
[ "reloaded_45_super", 1 ],
[ "45colt_jhp", 1 ],
[ "reloaded_45colt_jhp", 1 ],
[ "46mm", 1 ],
[ "bp_46mm", 1 ],
[ "reloaded_46mm", 1 ],
[ "50bmg", 1 ],
[ "50match", 1 ],
[ "50ss", 1 ],
[ "reloaded_50bmg", 1 ],
[ "reloaded_50ss", 1 ],
[ "57mm", 1 ],
[ "bp_57mm", 1 ],
[ "reloaded_57mm", 1 ],
[ "223", 1 ],
[ "556", 1 ],
[ "bp_223", 1 ],
[ "bp_556", 1 ],
[ "reloaded_223", 1 ],
[ "reloaded_556", 1 ],
[ "270win_jsp", 1 ],
[ "bp_270win_jsp", 1 ],
[ "reloaded_270win_jsp", 1 ],
[ "300_winmag", 1 ],
[ "bp_300_winmag", 1 ],
[ "reloaded_300_winmag", 1 ],
[ "300blk", 1 ],
[ "300blk_ss", 1 ],
[ "bp_300blk", 1 ],
[ "reloaded_300blk", 1 ],
[ "308", 1 ],
[ "762_51", 1 ],
[ "bp_308", 1 ],
[ "bp_762_51", 1 ],
[ "reloaded_308", 1 ],
[ "reloaded_762_51", 1 ],
[ "357mag_fmj", 1 ],
[ "357mag_jhp", 1 ],
[ "bp_357mag_fmj", 1 ],
[ "bp_357mag_jhp", 1 ],
[ "reloaded_357mag_fmj", 1 ],
[ "reloaded_357mag_jhp", 1 ],
[ "357sig_fmj", 1 ],
[ "357sig_jhp", 1 ],
[ "reloaded_357sig_fmj", 1 ],
[ "reloaded_357sig_jhp", 1 ],
[ "380_FMJ", 1 ],
[ "380_JHP", 1 ],
[ "380_p", 1 ],
[ "bp_380_FMJ", 1 ],
[ "bp_380_JHP", 1 ],
[ "reloaded_380_FMJ", 1 ],
[ "reloaded_380_JHP", 1 ],
[ "reloaded_380_p", 1 ],
[ "454_Casull", 1 ],
[ "reloaded_454_Casull", 1 ],
[ "bp_454_Casull", 1 ],
[ "460_fmj", 1 ],
[ "460_rowland", 1 ],
[ "bp_460_fmj", 1 ],
[ "bp_460_rowland", 1 ],
[ "reloaded_460_fmj", 1 ],
[ "reloaded_460_rowland", 1 ],
[ "500_Magnum", 1 ],
[ "bp_500_Magnum", 1 ],
[ "reloaded_500_Magnum", 1 ],
[ "545", 1 ],
[ "545_ap", 1 ],
[ "reloaded_545", 1 ],
[ "reloaded_545_ap", 1 ],
[ "700nx", 1 ],
[ "reloaded_700nx", 1 ],
[ "762_m43", 1 ],
[ "762_m87", 1 ],
[ "reloaded_762_m43", 1 ],
[ "reloaded_762_m87", 1 ],
[ "762_54R", 1 ],
[ "762_25", 1 ],
[ "762_25hot", 1 ],
[ "762_25typeP", 1 ],
[ "bp_762_25", 1 ],
[ "reloaded_762_25", 1 ],
[ "3006", 1 ],
[ "3006fmj", 1 ],
[ "bp_3006", 1 ],
[ "bp_3006fmj", 1 ],
[ "reloaded_3006", 1 ],
[ "reloaded_3006fmj", 1 ],
[ "4570_sp", 1 ],
[ "4570_pen", 1 ],
[ "4570_low", 1 ],
[ "reloaded_4570_sp", 1 ],
[ "reloaded_4570_pen", 1 ],
[ "reloaded_4570_low", 1 ],
[ "reloaded_4570_bp", 1 ],
[ "reloaded_762_m43", 1 ]
]
]
},
{
"id": "railgun",
"type": "SPELL",
"name": "Railgun",
"description": "Magnetize a bullet, and fire it at supersonic speeds by applying an opposite magnetic force to the bullet. Leaves a trail of sparks",
"flags": [ "LOUD", "SOMATIC", "NO_LEGS" ],
"valid_targets": [ "hostile" ],
"spell_class": "MAGNETISM_MAGE",
"energy_source": "MANA",
"damage_type": "bullet",
"effect": "attack",
"shape": "blast",
"max_level": 35,
"min_damage": 100,
"max_damage": 450,
"damage_increment": 10,
"components": "railgun_bullet",
"min_range": 20,
"max_range": 20,
"base_casting_time": 400,
"base_energy_cost": 600,
"extra_effects": [ { "id": "railgun_sparks" } ]
},
{
"id": "railgun_sparks",
"type": "SPELL",
"name": "Railgun Sparks",
"description": "The spark portion of the Railgun spell",
"valid_targets": [ "ground", "hostile", "ally" ],
"effect": "attack",
"shape": "line",
"min_aoe": 3,
"max_aoe": 3,
"field_id": "fd_electricity",
"min_field_intensity": 1,
"max_field_intensity": 1,
"field_chance": 2
}
]
1 change: 1 addition & 0 deletions data/mods/Magiclysm/traits/attunements.json
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,7 @@
"valid": false,
"description": "",
"prereqs": [ "STORMSHAPER", "EARTHSHAPER" ],
"spells_learned": [ [ "railgun", 5 ] ],
"cancels": [
"ARTIFICER",
"AURA_MAGE",
Expand Down

0 comments on commit 55058e0

Please sign in to comment.