Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Example use of character import in shadowcraft script

View mop_assassination_import.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
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)
 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.