Difference between revisions of "Load enemy data"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Example)
(Example)
Line 16: Line 16:
 
  <span style='font-size:12px;font-family:courier'>
 
  <span style='font-size:12px;font-family:courier'>
 
  <span style='color:blue'>100:    </span><span style='color:green'>load_enemy_data </span>0000000D <span style='color:orange'>//Load Delbiter</span>
 
  <span style='color:blue'>100:    </span><span style='color:green'>load_enemy_data </span>0000000D <span style='color:orange'>//Load Delbiter</span>
  <span sytle='color:green'>        get_physical_data</span> 1531 <span style='color:orange>//Give Delbiters the physical stats found at label 1531</span>
+
  <span sytle='color:green'>        get_physical_data</span> 1531 <span style='color:orange'>//Give Delbiters the physical stats found at label 1531</span>
  <span sytle='color:green'>        get_resist_data</span> 1532 <span style='color:orange>//Give Delbiters the resistance stats found at label 1532</span>
+
  <span sytle='color:green'>        get_resist_data</span> 1532 <span style='color:orange'>//Give Delbiters the resistance stats found at label 1532</span>
 
  <span style='color:green'>        load_enemy_data </span>00000030 <span style='color:orange'>//Load Deldepth</span>
 
  <span style='color:green'>        load_enemy_data </span>00000030 <span style='color:orange'>//Load Deldepth</span>
  <span sytle='color:green'>        get_physical_data</span> 1541 <span style='color:orange>//Give Deldepths the physical stats found at label 1541</span>
+
  <span sytle='color:green'>        get_physical_data</span> 1541 <span style='color:orange'>//Give Deldepths the physical stats found at label 1541</span>
  <span sytle='color:green'>        get_resist_data</span> 1542 <span style='color:orange>//Give Deldepths the resistance stats found at label 1542</span>
+
  <span sytle='color:green'>        get_resist_data</span> 1542 <span style='color:orange'>//Give Deldepths the resistance stats found at label 1542</span>
 
  <span style='color:green'>        ret </span>
 
  <span style='color:green'>        ret </span>
 
  </span>
 
  </span>

Revision as of 16:57, 25 January 2018

Syntax

Syntax: load_enemy_data dword

  • dword = The index of the monster in the BP file of who's stats to allow editing to.

Use

Sets the flag used by get_physical_data, get_attack_data, get_resist_data, and get_movement_data to specify which monster to modify the behavior of.

Only takes effect for monsters spawned after the opcodes are run.

Cannot be run during function 0.

Codes

Example


100:     load_enemy_data 0000000D //Load Delbiter
         get_physical_data 1531 //Give Delbiters the physical stats found at label 1531
         get_resist_data 1532 //Give Delbiters the resistance stats found at label 1532
         load_enemy_data 00000030 //Load Deldepth
         get_physical_data 1541 //Give Deldepths the physical stats found at label 1541
         get_resist_data 1542 //Give Deldepths the resistance stats found at label 1542
         ret 

Also see

get_physical_data, get_attack_data, get_resist_data, get_movement_data, ret