public
Created

Example use of character import in shadowcraft script

  • Download Gist
mop_assassination_import.py
Python
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
from import_character import CharacterData
 
character_data = CharacterData('eu', 'Silvermoon', 'Aylje')
character_data.do_import()
 
 
test_race = race.Race(character_data.get_race())
 
test_mh = stats.Weapon(*character_data.get_mh())
test_oh = stats.Weapon(*character_data.get_oh())
 
# TODO procs are hardcoded for now
#test_procs = procs.ProcsList(*character_data.get_procs())
test_procs = procs.ProcList('relic_of_xuen', 'searing_words')
 
character_stats = character_data.get_stats()
test_stats = stats.Stats(*(character_stats + [test_mh, test_oh, test_procs, test_gear_buffs]), pvp_power=0, pvp_resil=0, pvp_target_armor=None)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.