Difference between revisions of "Exp multiplication"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Use)
(Example)
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
 
  <span style='font-size:12px;font-family:courier'>
 
  <span style='font-size:12px;font-family:courier'>
 
  <span style='color:blue'>0:    </span><span style='color:green'>leti R1 00000064  </span> <span style='color:orange'>//First register to be used, multiply by 100.</span>
 
  <span style='color:blue'>0:    </span><span style='color:green'>leti R1 00000064  </span> <span style='color:orange'>//First register to be used, multiply by 100.</span>
  <span style='color:green'>      leti R2 0000000A  </span>  <span style='color:orange'>//Second register to be used, multiply by 10.</span>
+
  <span style='color:green'>      leti R2 0000000A  </span>  <span style='color:orange'>//Second register to be used, multiply by 10%.</span>
  <span style='color:green'>      leti R3 00000001  </span>  <span style='color:orange'>//Second register to be used, multiply by 1.</span>
+
  <span style='color:green'>      leti R3 00000001  </span>  <span style='color:orange'>//Second register to be used, divide by 1%.</span>
 +
<span style='color:green'>      Exp_multiplication R1  </span>  <span style='color:orange'>//Tells the quest to start reading the details of this opcode at R1.</span>
  
 
==Also see==
 
==Also see==
 
[[leti]]
 
[[leti]]

Latest revision as of 14:38, 9 December 2020

Syntax

Syntax: Exp_multiplication register

  • register = Register to begin the multiplication formula


Use

Used to multiply monster's exp values in challenge mode

NOTE: This opcode uses the below formula. It's only available in Challenge Mode

base exp x R1 + ((base exp x R2%) / R3%)

Example


0:    leti R1 00000064   //First register to be used, multiply by 100.
      leti R2 0000000A    //Second register to be used, multiply by 10%.
      leti R3 00000001    //Second register to be used, divide by 1%.
      Exp_multiplication R1    //Tells the quest to start reading the details of this opcode at R1.

Also see

leti