Created
October 9, 2012 10:54
-
-
Save postrov/3857949 to your computer and use it in GitHub Desktop.
Example use of character import in shadowcraft script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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