characterspells_mar6_2021.sql 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. CREATE TABLE character_spell_effects (
  2. name varchar(64) not null default '',
  3. caster_char_id int(10) unsigned NOT NULL DEFAULT 0,
  4. target_char_id int(10) unsigned NOT NULL DEFAULT 0,
  5. target_type tinyint(3) unsigned NOT NULL DEFAULT 0,
  6. db_effect_type tinyint(3) unsigned NOT NULL DEFAULT 0,
  7. spell_id int(10) unsigned NOT NULL DEFAULT 0,
  8. effect_slot int(10) unsigned NOT NULL DEFAULT 0,
  9. slot_pos int(10) unsigned NOT NULL DEFAULT 0,
  10. icon smallint(5) unsigned NOT NULL DEFAULT 0,
  11. icon_backdrop smallint(5) unsigned NOT NULL DEFAULT 0,
  12. conc_used tinyint(3) unsigned NOT NULL DEFAULT 0,
  13. tier tinyint(3) unsigned NOT NULL DEFAULT 0,
  14. total_time float unsigned NOT NULL DEFAULT 0,
  15. expire_timestamp int(10) unsigned NOT NULL DEFAULT 0,
  16. lua_file text,
  17. custom_spell tinyint(3) unsigned NOT NULL DEFAULT 0,
  18. charid int(10) unsigned NOT NULL DEFAULT 0,
  19. damage_remaining int(10) unsigned NOT NULL DEFAULT 0,
  20. effect_bitmask int(10) unsigned NOT NULL DEFAULT 0,
  21. num_triggers smallint(5) unsigned NOT NULL DEFAULT 0,
  22. had_triggers tinyint(3) unsigned NOT NULL DEFAULT 0,
  23. cancel_after_triggers tinyint(3) unsigned NOT NULL DEFAULT 0,
  24. crit tinyint(3) unsigned NOT NULL DEFAULT 0,
  25. last_spellattack_hit tinyint(3) unsigned NOT NULL DEFAULT 0,
  26. interrupted tinyint(3) unsigned NOT NULL DEFAULT 0,
  27. resisted tinyint(3) unsigned NOT NULL DEFAULT 0,
  28. custom_function text not null default 'notset'
  29. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  30. CREATE TABLE character_spell_effect_targets (
  31. caster_char_id int(10) unsigned NOT NULL DEFAULT 0,
  32. target_char_id int(10) unsigned NOT NULL DEFAULT 0,
  33. target_type tinyint(3) unsigned NOT NULL DEFAULT 0,
  34. db_effect_type tinyint(3) unsigned NOT NULL DEFAULT 0,
  35. spell_id int(10) unsigned NOT NULL DEFAULT 0,
  36. effect_slot int(10) unsigned NOT NULL DEFAULT 0,
  37. slot_pos int(10) unsigned NOT NULL DEFAULT 0
  38. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;